-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.yaml
40 lines (35 loc) · 1023 Bytes
/
vars.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
redis:
addr: localhost
port: 6379
g_redis_serial_key: DNS_SPOOF_SERIAL_NUM
g_redis_map_key: DNS_SPOOF_RECORD_MAP
spoof:
# dnsdist配置文件中劫持标志注释行
g_dist_spoof_flag_line: --auto spoof by sys sre
# dnsdist配置文件中转发标志注释行
g_dist_pool_flag_line: --auto forward pool by sys sre
dns_dist:
view-a:
online_ip: 1.1.1.1
offline_ip: 1.1.1.4
online_all:
- 1.1.1.2
- 1.1.1.3
conf_dir: ./dnsdist_conf/view-a
view-b:
online_ip: 2.1.1.1
offline_ip: 2.1.1.4
online_all:
- 2.1.1.2
- 2.1.1.3
conf_dir: ./dnsdist_conf/view-b
# yaml文件配置:保留默认即可
yaml:
get_from_online: get_from_online.yaml
local_backup: local_backup.yaml
send_remote_online: send_remote_online.yaml
send_remote_offline: send_remote_offline.yaml
rollback_remote_offline: rollback_remote_offline.yaml
rollback_remote_online: rollback_remote_online.yaml
restart_service: restart_service.yaml
stop_service: stop_service.yaml