public class DnsClient extends Object
Please consult the documentation for more information on DNS clients.
NOTE: This class has been automatically generated from theoriginal non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<DnsClient> |
__TYPE_ARG |
| Constructor and Description |
|---|
DnsClient(io.vertx.core.dns.DnsClient delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
io.vertx.core.dns.DnsClient |
getDelegate() |
int |
hashCode() |
CompletionStage<String> |
lookup(String name)
Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name.
|
CompletionStage<String> |
lookup4(String name)
Try to lookup the A (ipv4) record for the given name.
|
CompletionStage<String> |
lookup6(String name)
Try to lookup the AAAA (ipv6) record for the given name.
|
static DnsClient |
newInstance(io.vertx.core.dns.DnsClient arg) |
CompletionStage<List<String>> |
resolveA(String name)
Try to resolve all A (ipv4) records for the given name.
|
CompletionStage<List<String>> |
resolveAAAA(String name)
Try to resolve all AAAA (ipv6) records for the given name.
|
CompletionStage<List<String>> |
resolveCNAME(String name)
Try to resolve the CNAME record for the given name.
|
CompletionStage<List<MxRecord>> |
resolveMX(String name)
Try to resolve the MX records for the given name.
|
CompletionStage<List<String>> |
resolveNS(String name)
Try to resolve the NS records for the given name.
|
CompletionStage<String> |
resolvePTR(String name)
Try to resolve the PTR record for the given name.
|
CompletionStage<List<SrvRecord>> |
resolveSRV(String name)
Try to resolve the SRV records for the given name.
|
CompletionStage<List<String>> |
resolveTXT(String name)
Try to resolve the TXT records for the given name.
|
CompletionStage<String> |
reverseLookup(String ipaddress)
Try to do a reverse lookup of an IP address.
|
String |
toString() |
public io.vertx.core.dns.DnsClient getDelegate()
public CompletionStage<String> lookup(String name)
name - the name to resolvepublic CompletionStage<String> lookup4(String name)
name - the name to resolvepublic CompletionStage<String> lookup6(String name)
name - the name to resolvepublic CompletionStage<List<String>> resolveA(String name)
name - the name to resolvepublic CompletionStage<List<String>> resolveAAAA(String name)
name - the name to resolvepublic CompletionStage<List<String>> resolveCNAME(String name)
name - the name to resolve the CNAME forpublic CompletionStage<List<MxRecord>> resolveMX(String name)
name - the name for which the MX records should be resolvedpublic CompletionStage<List<String>> resolveTXT(String name)
name - the name for which the TXT records should be resolvedpublic CompletionStage<String> resolvePTR(String name)
name - the name to resolve the PTR forpublic CompletionStage<List<String>> resolveNS(String name)
name - the name for which the NS records should be resolvedpublic CompletionStage<List<SrvRecord>> resolveSRV(String name)
name - the name for which the SRV records should be resolvedpublic CompletionStage<String> reverseLookup(String ipaddress)
ipaddress - the IP address to resolve the PTR forpublic static DnsClient newInstance(io.vertx.core.dns.DnsClient arg)
Copyright © 2019 SmallRye. All rights reserved.