Add more public DNS servers to DnsNameResolverTest

so that we have more chance of passing the test when some DNS servers
are unavailable or throtlling us.
This commit is contained in:
Trustin Lee 2015-08-27 12:25:38 +09:00
parent 36d5d0ea27
commit 3575980a9e

View File

@ -68,8 +68,12 @@ public class DnsNameResolverTest {
new InetSocketAddress("8.8.4.4", 53),
new InetSocketAddress("208.67.222.222", 53), // OpenDNS
new InetSocketAddress("208.67.220.220", 53),
new InetSocketAddress("208.67.222.220", 53),
new InetSocketAddress("208.67.220.222", 53),
new InetSocketAddress("37.235.1.174", 53), // FreeDNS
new InetSocketAddress("37.235.1.177", 53)
new InetSocketAddress("37.235.1.177", 53),
new InetSocketAddress("8.26.56.26", 53), // Comodo Secure DNS
new InetSocketAddress("8.20.247.20", 53)
);
// Using the top-100 web sites ranked in Alexa.com (Oct 2014)