|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object velosurf.util.DNSResolver
public class DNSResolver
Utility class to resolve names against DN servers
Constructor Summary | |
---|---|
DNSResolver()
|
Method Summary | |
---|---|
static boolean |
checkDNS(java.lang.String hostname)
check DNS. |
static boolean |
checkDNS(java.lang.String hostname,
boolean mx)
check DNS. |
static java.util.List<java.lang.String> |
resolveDNS(java.lang.String hostname,
boolean mx)
Resolve MX DNS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DNSResolver()
Method Detail |
---|
public static boolean checkDNS(java.lang.String hostname)
hostname
- hostname
public static boolean checkDNS(java.lang.String hostname, boolean mx)
hostname
- hostnamemx
- do MX query or not
public static java.util.List<java.lang.String> resolveDNS(java.lang.String hostname, boolean mx)
hostname
- hostname
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |