-
Notifications
You must be signed in to change notification settings - Fork 2
/
chinadns-domain.toml
78 lines (65 loc) · 1.41 KB
/
chinadns-domain.toml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
bind = "127.0.0.1:5300"
[upstreams]
[upstreams.dnspod]
address = ["119.29.29.29"]
network = "udp"
[upstreams.alidns]
address = ["223.5.5.5", "223.6.6.6"]
network = "udp"
[upstreams.google]
address = ["8.8.8.8", "8.8.4.4"]
network = "tls"
proxy = "socks5://127.0.0.1:1080"
tls-host = "dns.google"
[upstreams.cloudflare]
address = ["1.1.1.1", "1.0.0.1"]
network = "tls"
proxy = "socks5://127.0.0.1:1080"
tls-host = "cloudflare-dns.com"
[upstreams.opennic]
address = ["134.195.4.2", "192.3.165.37"]
default = false
network = "udp"
[domains]
[domains.opennic]
list = [
".bbs",
".chan",
".cyb",
".dyn",
".geek",
".gopher",
".indy",
".libre",
".neo",
".null",
".o",
".oss",
".oz",
".parody",
".pirate",
]
[domains.proxy]
# download from https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/proxy-list.txt
files = ["proxy-list.txt"]
[domains.direct]
# download from https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/direct-list.txt
files = ["direct-list.txt"]
[ranges]
[ranges.cn]
# download from https://www.ipdeny.com/ipblocks/data/countries/cn.zone
files = ["cn.txt"]
[[requests]]
domains = ["opennic"]
upstreams = ["opennic"]
[[requests]]
domains = ["proxy"]
upstreams = ["google", "cloudflare"]
[[requests]]
domains = ["direct"]
upstreams = ["dnspod", "alidns"]
[[responses]]
action = "drop"
domains = ["!direct"]
ranges = ["!cn"]
upstreams = ["dnspod", "alidns"]