public class DnsClient extends Object
Please consult the documentation for more information on DNS clients.
The client is thread safe and can be used from any thread.
NOTE: This class has been automatically generated from theoriginal
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<DnsClient> |
__TYPE_ARG |
Constructor and Description |
---|
DnsClient(DnsClient delegate) |
DnsClient(Object delegate) |
Modifier and Type | Method and Description |
---|---|
Completable |
close()
Close the client.
|
boolean |
equals(Object o) |
DnsClient |
getDelegate() |
int |
hashCode() |
Maybe<String> |
lookup(String name)
Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name.
|
Maybe<String> |
lookup4(String name)
Try to lookup the A (ipv4) record for the given name.
|
Maybe<String> |
lookup6(String name)
Try to lookup the AAAA (ipv6) record for the given name.
|
static DnsClient |
newInstance(DnsClient arg) |
Single<List<String>> |
resolveA(String name)
Try to resolve all A (ipv4) records for the given name.
|
Single<List<String>> |
resolveAAAA(String name)
Try to resolve all AAAA (ipv6) records for the given name.
|
Single<List<String>> |
resolveCNAME(String name)
Try to resolve the CNAME record for the given name.
|
Single<List<MxRecord>> |
resolveMX(String name)
Try to resolve the MX records for the given name.
|
Single<List<String>> |
resolveNS(String name)
Try to resolve the NS records for the given name.
|
Maybe<String> |
resolvePTR(String name)
Try to resolve the PTR record for the given name.
|
Single<List<SrvRecord>> |
resolveSRV(String name)
Try to resolve the SRV records for the given name.
|
Single<List<String>> |
resolveTXT(String name)
Try to resolve the TXT records for the given name.
|
Maybe<String> |
reverseLookup(String ipaddress)
Try to do a reverse lookup of an IP address.
|
Completable |
rxClose()
Close the client.
|
Maybe<String> |
rxLookup(String name)
Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name.
|
Maybe<String> |
rxLookup4(String name)
Try to lookup the A (ipv4) record for the given name.
|
Maybe<String> |
rxLookup6(String name)
Try to lookup the AAAA (ipv6) record for the given name.
|
Single<List<String>> |
rxResolveA(String name)
Try to resolve all A (ipv4) records for the given name.
|
Single<List<String>> |
rxResolveAAAA(String name)
Try to resolve all AAAA (ipv6) records for the given name.
|
Single<List<String>> |
rxResolveCNAME(String name)
Try to resolve the CNAME record for the given name.
|
Single<List<MxRecord>> |
rxResolveMX(String name)
Try to resolve the MX records for the given name.
|
Single<List<String>> |
rxResolveNS(String name)
Try to resolve the NS records for the given name.
|
Maybe<String> |
rxResolvePTR(String name)
Try to resolve the PTR record for the given name.
|
Single<List<SrvRecord>> |
rxResolveSRV(String name)
Try to resolve the SRV records for the given name.
|
Single<List<String>> |
rxResolveTXT(String name)
Try to resolve the TXT records for the given name.
|
Maybe<String> |
rxReverseLookup(String ipaddress)
Try to do a reverse lookup of an IP address.
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<DnsClient> __TYPE_ARG
public DnsClient(DnsClient delegate)
public DnsClient(Object delegate)
public DnsClient getDelegate()
public Maybe<String> lookup(String name)
name
- the name to resolvepublic Maybe<String> rxLookup(String name)
name
- the name to resolvepublic Maybe<String> lookup4(String name)
name
- the name to resolvepublic Maybe<String> rxLookup4(String name)
name
- the name to resolvepublic Maybe<String> lookup6(String name)
name
- the name to resolvepublic Maybe<String> rxLookup6(String name)
name
- the name to resolvepublic Single<List<String>> resolveA(String name)
name
- the name to resolvepublic Single<List<String>> rxResolveA(String name)
name
- the name to resolvepublic Single<List<String>> resolveAAAA(String name)
name
- the name to resolvepublic Single<List<String>> rxResolveAAAA(String name)
name
- the name to resolvepublic Single<List<String>> resolveCNAME(String name)
name
- the name to resolve the CNAME forpublic Single<List<String>> rxResolveCNAME(String name)
name
- the name to resolve the CNAME forpublic Single<List<MxRecord>> resolveMX(String name)
name
- the name for which the MX records should be resolvedpublic Single<List<MxRecord>> rxResolveMX(String name)
name
- the name for which the MX records should be resolvedpublic Single<List<String>> resolveTXT(String name)
name
- the name for which the TXT records should be resolvedpublic Single<List<String>> rxResolveTXT(String name)
name
- the name for which the TXT records should be resolvedpublic Maybe<String> resolvePTR(String name)
name
- the name to resolve the PTR forpublic Maybe<String> rxResolvePTR(String name)
name
- the name to resolve the PTR forpublic Single<List<String>> resolveNS(String name)
name
- the name for which the NS records should be resolvedpublic Single<List<String>> rxResolveNS(String name)
name
- the name for which the NS records should be resolvedpublic Single<List<SrvRecord>> resolveSRV(String name)
name
- the name for which the SRV records should be resolvedpublic Single<List<SrvRecord>> rxResolveSRV(String name)
name
- the name for which the SRV records should be resolvedpublic Maybe<String> reverseLookup(String ipaddress)
ipaddress
- the IP address to resolve the PTR forpublic Maybe<String> rxReverseLookup(String ipaddress)
ipaddress
- the IP address to resolve the PTR forpublic Completable close()
public Completable rxClose()
Copyright © 2024 Eclipse. All rights reserved.