Package org.minidns.constants
Class DnsRootServer
- java.lang.Object
-
- org.minidns.constants.DnsRootServer
-
public class DnsRootServer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static Inet4Address[]
IPV4_ROOT_SERVERS
protected static Inet6Address[]
IPV6_ROOT_SERVERS
-
Constructor Summary
Constructors Constructor Description DnsRootServer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Inet4Address
getIpv4RootServerById(char id)
static Inet6Address
getIpv6RootServerById(char id)
static Inet4Address
getRandomIpv4RootServer(Random random)
static Inet6Address
getRandomIpv6RootServer(Random random)
-
-
-
Field Detail
-
IPV4_ROOT_SERVERS
protected static final Inet4Address[] IPV4_ROOT_SERVERS
-
IPV6_ROOT_SERVERS
protected static final Inet6Address[] IPV6_ROOT_SERVERS
-
-
Constructor Detail
-
DnsRootServer
public DnsRootServer()
-
-
Method Detail
-
getRandomIpv4RootServer
public static Inet4Address getRandomIpv4RootServer(Random random)
-
getRandomIpv6RootServer
public static Inet6Address getRandomIpv6RootServer(Random random)
-
getIpv4RootServerById
public static Inet4Address getIpv4RootServerById(char id)
-
getIpv6RootServerById
public static Inet6Address getIpv6RootServerById(char id)
-
-