-
Notifications
You must be signed in to change notification settings - Fork 10
/
config.sample.json
executable file
·112 lines (112 loc) · 2.46 KB
/
config.sample.json
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"BindAddress": ":53",
"DebugHTTPAddress": "127.0.0.1:5555",
"DNSBunch": {
"HK-DNS": [
{
"Name": "Microsoft-HK",
"Address": "47.91.128.195:53",
"Protocol": "udp",
"SOCKS5Address": "",
"Timeout": 6,
"EDNSClientSubnet": {
"Policy": "disable",
"ExternalIP": "",
"NoCookie": false
}
},
{
"Name": "Google-HK",
"Address": "8.8.8.8:53",
"Protocol": "udp",
"SOCKS5Address": "",
"Timeout": 3,
"EDNSClientSubnet": {
"Policy": "enable",
"ExternalIP": "",
"NoCookie": false
}
}
],
"CN-DNS": [
{
"Name": "ChinaTelecom-CN",
"Address": "114.114.114.114:53",
"Protocol": "udp",
"SOCKS5Address": "",
"Timeout": 6,
"EDNSClientSubnet": {
"Policy": "disable",
"ExternalIP": "",
"NoCookie": false
}
},
{
"Name": "Baidu-CN",
"Address": "180.76.76.76:53",
"Protocol": "udp",
"SOCKS5Address": "",
"Timeout": 6,
"EDNSClientSubnet": {
"Policy": "disable",
"ExternalIP": "",
"NoCookie": false
}
}
],
"SB-DNS": [
{
"Name": "SB-1",
"Address": "185.222.222.222:53",
"Protocol": "udp",
"SOCKS5Address": "",
"Timeout": 6,
"EDNSClientSubnet": {
"Policy": "disable",
"ExternalIP": "",
"NoCookie": false
}
},
{
"Name": "SB-2",
"Address": "185.184.222.222:53",
"Protocol": "udp",
"SOCKS5Address": "",
"Timeout": 6,
"EDNSClientSubnet": {
"Policy": "disable",
"ExternalIP": "",
"NoCookie": false
}
}
]
},
"DNSFilter": {
"HK-DNS": {
"IPNetworkFile": "",
"DomainFile": "hk.domain",
"Matcher": "suffix-tree"
},
"CN-DNS": {
"IPNetworkFile": "cn.ip",
"DomainFile": "cn.domain",
"Matcher": "suffix-tree"
},
"SB-DNS": {
"IPNetworkFile": "",
"DomainFile": "hk.domain",
"Matcher": "suffix-tree"
}
},
"DefaultDNSBundle": "HK-DNS",
"IPv6UseAlternativeDNS": false,
"HostsFile": "./hosts",
"MinimumTTL": 0,
"DomainTTLFile": "./domain_ttl_sample",
"CacheSize": 100,
"CacheCrontab": "*/5 * * * * ?",
"Dectector": "ping",
"RejectQType": [
255
]
}