From 75efe016d6537fc989c69aadf5eced148fa23bcc Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Thu, 27 Aug 2015 12:25:38 +0900 Subject: [PATCH] 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. --- .../java/io/netty/resolver/dns/DnsNameResolverTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java b/resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java index bef51e0ce7..24c644f346 100644 --- a/resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java +++ b/resolver-dns/src/test/java/io/netty/resolver/dns/DnsNameResolverTest.java @@ -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)