Skip to content

Commit

Permalink
Update the public DNS server list
Browse files Browse the repository at this point in the history
Motivation:

Some DNS servers in DnsNameResolverTest are outdated and some of them
returns NoError for non-existent domains.

Modifications:

- Update the DNS server list from http://meo.ws/dnsrec.php again
- Update the web-scraper script

Result:

DnsNameResolverTest.testNegativeTtl() should not fail anymore.
  • Loading branch information
trustin committed Sep 25, 2015
1 parent aa0e12d commit 0b34c30
Showing 1 changed file with 23 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,48 +76,56 @@ public class DnsNameResolverTest {
// OpenNIC - Fusl's Tier 2 DNS servers
//
// curl http://meo.ws/dnsrec.php | \
// grep -E '^IPv4' | awk '{ print $2; }' | \
// perl -p0 -e 's#(^(.|\r|\n)*<textarea[^>]*>|</textarea>(.|\r|\n)*)##g' | \
// awk -F ',' '{ print $14 }' | \
// grep -E '^[0-9]+.[0-9]+.[0-9]+.[0-9]+$' | \
// perl -p -e 's/^/new InetSocketAddress("/' | \
// perl -p -e 's/$/", 53),/'
//
new InetSocketAddress("192.71.247.247", 53),
new InetSocketAddress("79.133.43.124", 53),
new InetSocketAddress("151.236.10.36", 53),
new InetSocketAddress("163.47.20.30", 53),
new InetSocketAddress("103.25.56.238", 53),
new InetSocketAddress("111.223.227.125", 53),
new InetSocketAddress("103.241.0.207", 53),
new InetSocketAddress("192.71.249.249", 53),
new InetSocketAddress("192.71.249.83", 53),
new InetSocketAddress("69.28.67.83", 53),
new InetSocketAddress("192.121.170.170", 53),
new InetSocketAddress("192.121.170.22", 53),
new InetSocketAddress("62.141.38.230", 53),
new InetSocketAddress("185.97.7.7", 53),
new InetSocketAddress("84.200.83.161", 53),
new InetSocketAddress("78.47.34.12", 53),
new InetSocketAddress("192.71.213.213", 53),
new InetSocketAddress("41.215.240.141", 53),
new InetSocketAddress("5.134.117.239", 53),
new InetSocketAddress("95.175.99.231", 53),
new InetSocketAddress("92.222.80.28", 53),
new InetSocketAddress("178.79.174.162", 53),
new InetSocketAddress("95.129.41.126", 53),
new InetSocketAddress("151.236.20.236", 53),
new InetSocketAddress("79.120.211.147", 53),
new InetSocketAddress("103.53.199.71", 53),
new InetSocketAddress("176.62.0.26", 53),
new InetSocketAddress("185.112.156.159", 53),
new InetSocketAddress("217.78.6.191", 53),
new InetSocketAddress("193.182.144.144", 53),
new InetSocketAddress("192.71.211.211", 53),
new InetSocketAddress("193.182.144.83", 53),
new InetSocketAddress("37.235.55.46", 53),
new InetSocketAddress("103.250.184.85", 53),
new InetSocketAddress("192.71.218.218", 53),
new InetSocketAddress("151.236.24.245", 53),
new InetSocketAddress("192.121.47.47", 53),
new InetSocketAddress("106.185.41.36", 53),
new InetSocketAddress("88.82.109.9", 53),
new InetSocketAddress("88.82.109.119", 53),
new InetSocketAddress("212.117.180.145", 53),
new InetSocketAddress("185.61.149.228", 53),
new InetSocketAddress("93.158.205.94", 53),
new InetSocketAddress("31.220.43.191", 53),
new InetSocketAddress("151.236.29.92", 53),
new InetSocketAddress("91.247.228.155", 53),
new InetSocketAddress("163.47.21.44", 53),
new InetSocketAddress("151.236.25.25", 53),
new InetSocketAddress("94.46.12.224", 53),
new InetSocketAddress("46.108.39.139", 53),
new InetSocketAddress("213.183.57.55", 53),
new InetSocketAddress("213.183.57.57", 53),
new InetSocketAddress("94.242.57.130", 53),
new InetSocketAddress("46.151.215.199", 53),
new InetSocketAddress("31.220.5.106", 53),
new InetSocketAddress("103.25.202.192", 53),
new InetSocketAddress("185.65.206.121", 53),
new InetSocketAddress("91.229.79.104", 53),
new InetSocketAddress("74.207.241.202", 53),
new InetSocketAddress("104.245.33.185", 53),
new InetSocketAddress("104.245.39.112", 53),
Expand Down

0 comments on commit 0b34c30

Please sign in to comment.