Provides a way to asynchronously lookup information from DNS servers.
Please consult the documentation for more information on DNS clients.
Anything
Object
DnsClient
Basic
Identifiable
Object
Anything
no subtypes hierarchy
Initializer |
DnsClient(DnsClient unknown) |
Inherited Attributes |
Attributes inherited from: Object hash , string |
Methods | |
lookup | shared default DnsClient lookup(String name, Anything(Throwable|String?) handler) Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. The first found will be used. Parameters:
|
lookup4 | shared default DnsClient lookup4(String name, Anything(Throwable|String?) handler) Try to lookup the A (ipv4) record for the given name. The first found will be used. Parameters:
|
lookup6 | shared default DnsClient lookup6(String name, Anything(Throwable|String?) handler) Try to lookup the AAAA (ipv6) record for the given name. The first found will be used. Parameters:
|
resolveA | shared default DnsClient resolveA(String name, Anything(Throwable|List<String>) handler) Try to resolve all A (ipv4) records for the given name. Parameters:
|
resolveAAAA | shared default DnsClient resolveAAAA(String name, Anything(Throwable|List<String>) handler) Try to resolve all AAAA (ipv6) records for the given name. Parameters:
|
resolveCNAME | shared default DnsClient resolveCNAME(String name, Anything(Throwable|List<String>) handler) Try to resolve the CNAME record for the given name. Parameters:
|
resolveMX | shared default DnsClient resolveMX(String name, Anything(Throwable|List<MxRecord>) handler) Try to resolve the MX records for the given name. Parameters:
|
resolveNS | shared default DnsClient resolveNS(String name, Anything(Throwable|List<String>) handler) Try to resolve the NS records for the given name. Parameters:
|
resolvePTR | shared default DnsClient resolvePTR(String name, Anything(Throwable|String?) handler) Try to resolve the PTR record for the given name. Parameters:
|
resolveSRV | shared default DnsClient resolveSRV(String name, Anything(Throwable|List<SrvRecord>) handler) Try to resolve the SRV records for the given name. Parameters:
|
resolveTXT | shared default DnsClient resolveTXT(String name, Anything(Throwable|List<String>) handler) Try to resolve the TXT records for the given name. Parameters:
|
reverseLookup | shared default DnsClient reverseLookup(String ipaddress, Anything(Throwable|String?) handler) Try to do a reverse lookup of an IP address. This is basically the same as doing trying to resolve a PTR record but allows you to just pass in the IP address and not a valid ptr query string. Parameters:
|
Inherited Methods |
Methods inherited from: Object equals |