@Test
// IPv6 is disabled: We only get IPv4 servers through
public void testNewDNSServer_ipv6disabled() throws Exception {

    byte[] ipv6Template = new byte[]{32, 1, 13, (byte) (184 & 0xFF), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
    InetAddress i6addr = Inet6Address.getByName("::1");
    thread.newDNSServer(builder, "192.168.0.%d", null, i6addr);
    assertTrue(serversAdded.isEmpty());
    assertTrue(thread.upstreamDnsServers.isEmpty());
    InetAddress i4addr = Inet4Address.getByName("127.0.0.1");
    thread.newDNSServer(builder, "192.168.0.%d", null, i4addr);
    assertTrue(serversAdded.contains(InetAddress.getByName("192.168.0.2")));
    assertTrue(thread.upstreamDnsServers.contains(i4addr));
}