Skip to content

Commit

Permalink
added fast mode (dangerous) for domestic nameservers, updated IP lists
Browse files Browse the repository at this point in the history
  • Loading branch information
domosekai committed Mar 17, 2020
1 parent a05f4aa commit 4e9e67e
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 31 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ I very much appreciate the simple idea behind ChinaDNS and believe many function

Parameters
----
-F Fast mode. Accept foreign IP from domestic nameservers if it passes basic checks.
-M int
Maximum delay (ms) allowed for subsequent replies from all servers. Use a larger value for DOH. (default 500)
Maximum delay (ms) allowed for subsequent replies from all servers. Use a larger value for DOH. (default 1000)
-T int
Timeout (s) for the first reply from any server. Use a larger value for high latency network. (default 5)
-V Show version
Expand Down
95 changes: 75 additions & 20 deletions cnipv4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@
43.230.84.0/22
43.230.124.0/22
43.230.136.0/22
43.230.168.0/22
43.230.220.0/22
43.230.224.0/22
43.230.228.0/22
Expand Down Expand Up @@ -948,7 +947,6 @@
43.250.244.0/22
43.251.4.0/22
43.251.8.0/22
43.251.12.0/22
43.251.36.0/22
43.251.100.0/22
43.251.116.0/22
Expand Down Expand Up @@ -1032,8 +1030,7 @@
45.65.28.0/22
45.112.132.0/22
45.112.188.0/22
45.112.208.0/22
45.112.212.0/22
45.112.208.0/21
45.112.216.0/22
45.112.220.0/22
45.112.228.0/22
Expand Down Expand Up @@ -1088,7 +1085,6 @@
45.115.236.0/22
45.115.244.0/22
45.115.248.0/22
45.116.12.0/22
45.116.16.0/22
45.116.24.0/22
45.116.32.0/22
Expand Down Expand Up @@ -1880,12 +1876,15 @@
101.2.172.0/22
101.4.0.0/14
101.16.0.0/12
101.32.0.0/14
101.33.128.0/17
101.34.0.0/15
101.36.0.0/17
101.36.128.0/17
101.37.0.0/16
101.38.0.0/15
101.40.0.0/13
101.40.0.0/15
101.42.0.0/15
101.44.0.0/14
101.48.0.0/15
101.50.8.0/22
101.50.12.0/22
Expand Down Expand Up @@ -2570,7 +2569,6 @@
103.43.208.0/22
103.43.220.0/22
103.43.224.0/22
103.43.232.0/22
103.43.240.0/22
103.44.56.0/22
103.44.80.0/22
Expand Down Expand Up @@ -2732,7 +2730,6 @@
103.49.176.0/22
103.49.180.0/22
103.49.196.0/22
103.49.248.0/22
103.50.36.0/22
103.50.44.0/22
103.50.48.0/22
Expand Down Expand Up @@ -3828,7 +3825,6 @@
103.126.208.0/22
103.126.241.0/24
103.129.52.0/22
103.129.148.0/22
103.130.132.0/22
103.130.152.0/24
103.130.160.0/22
Expand Down Expand Up @@ -3879,7 +3875,6 @@
103.135.236.0/22
103.136.128.0/22
103.136.232.0/22
103.137.57.0/24
103.137.58.0/23
103.137.60.0/24
103.137.76.0/22
Expand Down Expand Up @@ -3963,6 +3958,46 @@
103.144.88.0/24
103.144.108.0/23
103.144.136.0/23
103.144.148.0/23
103.144.158.0/23
103.144.240.0/23
103.145.38.0/23
103.145.40.0/23
103.145.42.0/23
103.145.60.0/23
103.145.72.0/23
103.145.80.0/23
103.145.86.0/23
103.145.92.0/23
103.145.94.0/23
103.145.98.0/23
103.145.106.0/23
103.145.122.0/23
103.145.188.0/23
103.145.190.0/23
103.146.6.0/23
103.146.72.0/23
103.146.88.0/23
103.146.90.0/23
103.146.124.0/23
103.146.126.0/23
103.146.138.0/23
103.146.147.0/24
103.146.230.0/23
103.146.236.0/23
103.146.252.0/23
103.147.12.0/23
103.147.124.0/23
103.147.198.0/23
103.147.206.0/23
103.147.211.0/24
103.148.174.0/23
103.149.6.0/23
103.149.17.0/24
103.149.44.0/23
103.149.110.0/23
103.149.132.0/23
103.149.144.0/23
103.192.0.0/22
103.192.4.0/22
103.192.8.0/22
Expand Down Expand Up @@ -4052,7 +4087,6 @@
103.199.248.0/22
103.199.252.0/22
103.200.28.0/22
103.200.32.0/22
103.200.52.0/22
103.200.64.0/22
103.200.68.0/22
Expand Down Expand Up @@ -4681,7 +4715,6 @@
103.227.228.0/22
103.228.12.0/22
103.228.28.0/22
103.228.68.0/22
103.228.88.0/22
103.228.128.0/22
103.228.136.0/22
Expand Down Expand Up @@ -5023,7 +5056,8 @@
106.4.0.0/14
106.8.0.0/15
106.11.0.0/16
106.12.0.0/14
106.12.0.0/15
106.14.0.0/15
106.16.0.0/12
106.32.0.0/12
106.48.0.0/15
Expand Down Expand Up @@ -5361,7 +5395,10 @@
117.32.0.0/13
117.40.0.0/14
117.44.0.0/15
117.48.0.0/14
117.48.0.0/17
117.48.128.0/17
117.49.0.0/16
117.50.0.0/15
117.53.48.0/20
117.53.176.0/20
117.57.0.0/16
Expand Down Expand Up @@ -5440,7 +5477,20 @@
118.186.0.0/15
118.188.0.0/16
118.190.0.0/16
118.191.0.0/16
118.191.0.0/21
118.191.8.0/22
118.191.12.0/24
118.191.16.0/21
118.191.64.0/20
118.191.80.0/22
118.191.128.0/19
118.191.176.0/20
118.191.192.0/20
118.191.208.0/24
118.191.216.0/22
118.191.223.0/24
118.191.224.0/24
118.191.240.0/20
118.192.0.0/16
118.193.0.0/21
118.193.8.0/21
Expand Down Expand Up @@ -5777,7 +5827,8 @@
124.64.0.0/15
124.66.0.0/17
124.67.0.0/16
124.68.0.0/14
124.68.0.0/15
124.70.0.0/15
124.72.0.0/16
124.73.0.0/16
124.74.0.0/15
Expand Down Expand Up @@ -6113,7 +6164,10 @@
172.81.192.0/18
175.0.0.0/12
175.16.0.0/13
175.24.0.0/14
175.24.0.0/16
175.25.0.0/16
175.26.0.0/16
175.27.0.0/16
175.30.0.0/15
175.42.0.0/15
175.44.0.0/16
Expand Down Expand Up @@ -6172,7 +6226,9 @@
180.178.112.0/22
180.178.116.0/22
180.178.192.0/18
180.184.0.0/14
180.184.0.0/15
180.186.0.0/16
180.187.0.0/16
180.188.0.0/17
180.189.148.0/22
180.200.252.0/22
Expand All @@ -6189,7 +6245,6 @@
180.233.144.0/22
180.235.64.0/19
180.235.112.0/22
180.235.136.0/22
182.16.144.0/22
182.16.148.0/22
182.16.192.0/19
Expand Down
45 changes: 43 additions & 2 deletions cnipv6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,21 @@
2001:df1:bd80::/48
2001:df1:c900::/48
2001:df1:d100::/48
2001:df1:d180::/48
2001:df1:da00::/48
2001:df1:e600::/48
2001:df1:f480::/48
2001:df1:f580::/48
2001:df1:fd80::/48
2001:df2:80::/48
2001:df2:180::/47
2001:df2:5200::/48
2001:df2:5780::/48
2001:df2:5a80::/48
2001:df2:6680::/48
2001:df2:a580::/48
2001:df3:1480::/48
2001:df3:2a80::/48
2001:df3:b100::/48
2001:df4:1500::/48
2001:df4:2f00::/48
Expand Down Expand Up @@ -324,6 +336,7 @@
2401:540::/32
2401:780::/32
2401:7c0::/32
2401:800::/32
2401:9c0::/32
2401:a00::/32
2401:a40::/32
Expand Down Expand Up @@ -479,7 +492,6 @@
2401:c840::/32
2401:c8c0::/32
2401:ca00::/32
2401:ca80::/32
2401:cb80::/32
2401:cc00::/32
2401:ce00::/32
Expand Down Expand Up @@ -854,6 +866,7 @@
2403:4380::/32
2403:4580::/32
2403:4680::/32
2403:4780::/32
2403:4840::/32
2403:4880::/32
2403:4980::/32
Expand Down Expand Up @@ -923,7 +936,6 @@
2403:7d80::/32
2403:7e80::/32
2403:7f80::/32
2403:7fc0::/32
2403:8080::/32
2403:8180::/32
2403:8280::/32
Expand Down Expand Up @@ -1342,49 +1354,70 @@
2405:6e80::/32
2405:6f00::/32
2405:6f80::/32
2405:7040::/32
2405:7080::/32
2405:7180::/32
2405:7240::/32
2405:7280::/32
2405:7380::/32
2405:7480::/32
2405:7580::/32
2405:7680::/32
2405:7780::/32
2405:7880::/32
2405:78c0::/32
2405:7980::/32
2405:79c0::/32
2405:7a80::/32
2405:7b80::/32
2405:7c80::/32
2405:7d40::/32
2405:7f40::/32
2405:7fc0::/32
2405:8280::/32
2405:83c0::/32
2405:8480::/32
2405:84c0::/32
2405:8580::/32
2405:8680::/32
2405:8780::/32
2405:8880::/32
2405:8980::/32
2405:8a40::/32
2405:8a80::/32
2405:8ac0::/32
2405:8b40::/32
2405:8b80::/32
2405:8c80::/32
2405:8d80::/32
2405:8e80::/32
2405:8f40::/32
2405:8f80::/32
2405:9080::/32
2405:9180::/32
2405:9280::/32
2405:9300::/32
2405:9340::/32
2405:9380::/32
2405:93c0::/32
2405:9480::/32
2405:94c0::/32
2405:9580::/32
2405:9680::/32
2405:9700::/32
2405:9780::/32
2405:97c0::/32
2405:9880::/32
2405:9900::/32
2405:9980::/32
2405:99c0::/32
2405:9a80::/32
2405:9b00::/32
2405:9b80::/32
2405:9bc0::/32
2405:9e00::/32
2405:a240::/32
2405:a3c0::/32
2405:a500::/32
2405:a680::/32
2405:a900::/32
Expand All @@ -1395,13 +1428,16 @@
2405:af00::/32
2405:b100::/32
2405:b300::/32
2405:b7c0::/32
2405:b880::/32
2405:b980::/32
2405:bb00::/32
2405:bd00::/32
2405:bd80::/32
2405:bdc0::/32
2405:be80::/32
2405:bf00::/32
2405:c040::/32
2405:c280::/32
2405:c380::/32
2405:c480::/32
Expand All @@ -1417,9 +1453,14 @@
2405:cd80::/32
2405:ce80::/32
2405:d280::/32
2405:d4c0::/32
2405:d700::/32
2405:d740::/32
2405:d900::/32
2405:df40::/32
2405:e000::/32
2405:e040::/32
2405:e1c0::/32
2405:e600::/32
2405:ee80::/32
2405:f380::/32
Expand Down
Loading

0 comments on commit 4e9e67e

Please sign in to comment.