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