Skip to content

Commit 1cb9e50

Browse files
committed
🔧
1 parent 9bafac3 commit 1cb9e50

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,16 @@
11
### 使用
22

3+
```
34
docker pull coolrc/overture
45
docker run -itd --restart=always -v $PWD/config:/overture -p 53:53/udp coolrc/overture
6+
```
7+
8+
### 检验ECS
9+
```
10+
dig @127.0.0.1 edns-client-sub.net TXT +short
11+
```
12+
13+
返回格式类似如下则ECS可用
14+
```
15+
"{'ecs_payload':{'family':'1','optcode':'0x08','cc':'CA','ip':'47.107.162.0','mask':'24','scope':'0'},'ecs':'True','ts':'1550146974.93','recursive':{'cc':'US','srcip':'173.194.171.8','sport':'51403'}}"
16+
```

config/config.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"PrimaryDNS": [
44
{
55
"Name": "GoogleDNS",
6-
"Address": "dns.google:853",
7-
"Protocol": "tcp-tls",
6+
"Address": "45.77.103.53:5380",
7+
"Protocol": "tcp",
88
"SOCKS5Address": "",
99
"Timeout": 6,
1010
"EDNSClientSubnet": {
@@ -40,6 +40,6 @@
4040
},
4141
"HostsFile": "/overture/hosts_sample",
4242
"MinimumTTL": 0,
43-
"CacheSize" : 1024,
43+
"CacheSize" : 0,
4444
"RejectQtype": [255]
4545
}

0 commit comments

Comments
 (0)