-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCorefile
47 lines (42 loc) · 1.32 KB
/
Corefile
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
40
41
42
43
44
45
46
47
.:533 {
#cache 1
debug
datahub {
bootstrap 114.114.114.114:53
geoip_path data/geoip.dat
geosite_path data/geosite.dat
geoip_cache cn hk jp google apple
geosite_cache cn hk jp private apple
geodat_upgrade_url http://teamsacs.mydomain.cn/geodat
geodat_upgrade_cron 0 30 0 * * *
keyword_table msoffice data/keyword_cn.txt
jwt_secret 9b6de5cc-vcty-4bf1-zpms-0f568ac9da37
domain_table office365 https://teamsacs.appsway.cn/teamsdns/domain/list
domain_table ads https://teamsacs.appsway.cn/teamsdns/domain/list
netlist_table wjtoffice https://teamsacs.appsway.cn/teamsdns/network/list
ecs_table global https://teamsacs.appsway.cn/teamsdns/ecstable/list
datapub_listen :9800
notify_server global https://teamsacs.appsway.cn
reload @every 3s
}
metadnsq cn {
debug
max_fails 0
health_check 30s
to t1 114.114.114.114 223.5.5.5
to t2 8.8.8.8
policy round_robin
#matcher_url http://teamsacs.mydomain.cn/matchers
matcher {
client_ips wjtoffice
to t1
force_ecs global
}
matcher {
query_names ads
ipset danger
nxdomain
notify ads
}
}
}