Skip to content

Commit 95b3024

Browse files
committed
Add a bunch of OpenNIC DNS servers for more reliable DNS tests
1 parent 75bd0a3 commit 95b3024

File tree

1 file changed

+57
-2
lines changed

1 file changed

+57
-2
lines changed

resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,63 @@ public class DnsNameResolverTest {
7171
new InetSocketAddress("208.67.222.220", 53),
7272
new InetSocketAddress("208.67.220.222", 53),
7373
new InetSocketAddress("37.235.1.174", 53), // FreeDNS
74-
new InetSocketAddress("37.235.1.177", 53)
75-
);
74+
new InetSocketAddress("37.235.1.177", 53),
75+
//
76+
// OpenNIC - Fusl's Tier 2 DNS servers
77+
//
78+
// curl http://meo.ws/dnsrec.php | \
79+
// grep -E '^IPv4' | awk '{ print $2; }' | \
80+
// perl -p -e 's/^/new InetSocketAddress("/' | \
81+
// perl -p -e 's/$/", 53),/'
82+
//
83+
new InetSocketAddress("192.71.247.247", 53),
84+
new InetSocketAddress("163.47.20.30", 53),
85+
new InetSocketAddress("103.25.56.238", 53),
86+
new InetSocketAddress("111.223.227.125", 53),
87+
new InetSocketAddress("103.241.0.207", 53),
88+
new InetSocketAddress("192.71.249.249", 53),
89+
new InetSocketAddress("69.28.67.83", 53),
90+
new InetSocketAddress("192.121.170.170", 53),
91+
new InetSocketAddress("62.141.38.230", 53),
92+
new InetSocketAddress("185.97.7.7", 53),
93+
new InetSocketAddress("84.200.83.161", 53),
94+
new InetSocketAddress("78.47.34.12", 53),
95+
new InetSocketAddress("192.71.213.213", 53),
96+
new InetSocketAddress("95.175.99.231", 53),
97+
new InetSocketAddress("92.222.80.28", 53),
98+
new InetSocketAddress("178.79.174.162", 53),
99+
new InetSocketAddress("95.129.41.126", 53),
100+
new InetSocketAddress("151.236.20.236", 53),
101+
new InetSocketAddress("79.120.211.147", 53),
102+
new InetSocketAddress("217.78.6.191", 53),
103+
new InetSocketAddress("193.182.144.144", 53),
104+
new InetSocketAddress("192.71.211.211", 53),
105+
new InetSocketAddress("103.250.184.85", 53),
106+
new InetSocketAddress("192.71.218.218", 53),
107+
new InetSocketAddress("192.121.47.47", 53),
108+
new InetSocketAddress("106.185.41.36", 53),
109+
new InetSocketAddress("88.82.109.9", 53),
110+
new InetSocketAddress("185.61.149.228", 53),
111+
new InetSocketAddress("31.220.43.191", 53),
112+
new InetSocketAddress("151.236.29.92", 53),
113+
new InetSocketAddress("163.47.21.44", 53),
114+
new InetSocketAddress("151.236.25.25", 53),
115+
new InetSocketAddress("94.46.12.224", 53),
116+
new InetSocketAddress("46.108.39.139", 53),
117+
new InetSocketAddress("213.183.57.55", 53),
118+
new InetSocketAddress("213.183.57.57", 53),
119+
new InetSocketAddress("31.220.5.106", 53),
120+
new InetSocketAddress("103.25.202.192", 53),
121+
new InetSocketAddress("74.207.241.202", 53),
122+
new InetSocketAddress("104.245.33.185", 53),
123+
new InetSocketAddress("104.245.39.112", 53),
124+
new InetSocketAddress("74.207.232.103", 53),
125+
new InetSocketAddress("104.237.144.172", 53),
126+
new InetSocketAddress("104.237.136.225", 53),
127+
new InetSocketAddress("104.219.55.89", 53),
128+
new InetSocketAddress("23.226.230.72", 53),
129+
new InetSocketAddress("41.185.78.25", 53)
130+
);
76131

77132
// Using the top-100 web sites ranked in Alexa.com (Oct 2014)
78133
// Please use the following series of shell commands to get this up-to-date:

0 commit comments

Comments
 (0)