open class DnsClient
Provides a way to asynchronously lookup information from DNS servers.
Please consult the documentation for more information on DNS clients.
NOTE: This class has been automatically generated from the io.vertx.core.dns.DnsClient non RX-ified interface using Vert.x codegen.
DnsClient(delegate: DnsClient) |
static val __TYPE_ARG: TypeArg<DnsClient> |
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): DnsClient |
|
open fun hashCode(): Int |
|
open fun lookup(name: String, handler: Handler<AsyncResult<String>>): DnsClient
Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. The first found will be used. |
|
open fun lookup4(name: String, handler: Handler<AsyncResult<String>>): DnsClient
Try to lookup the A (ipv4) record for the given name. The first found will be used. |
|
open fun lookup6(name: String, handler: Handler<AsyncResult<String>>): DnsClient
Try to lookup the AAAA (ipv6) record for the given name. The first found will be used. |
|
open static fun newInstance(arg: DnsClient): DnsClient |
|
open fun resolveA(name: String, handler: Handler<AsyncResult<MutableList<String>>>): DnsClient
Try to resolve all A (ipv4) records for the given name. |
|
open fun resolveAAAA(name: String, handler: Handler<AsyncResult<MutableList<String>>>): DnsClient
Try to resolve all AAAA (ipv6) records for the given name. |
|
open fun resolveCNAME(name: String, handler: Handler<AsyncResult<MutableList<String>>>): DnsClient
Try to resolve the CNAME record for the given name. |
|
open fun resolveMX(name: String, handler: Handler<AsyncResult<MutableList<MxRecord>>>): DnsClient
Try to resolve the MX records for the given name. |
|
open fun resolveNS(name: String, handler: Handler<AsyncResult<MutableList<String>>>): DnsClient
Try to resolve the NS records for the given name. |
|
open fun resolvePTR(name: String, handler: Handler<AsyncResult<String>>): DnsClient
Try to resolve the PTR record for the given name. |
|
open fun resolveSRV(name: String, handler: Handler<AsyncResult<MutableList<SrvRecord>>>): DnsClient
Try to resolve the SRV records for the given name. |
|
open fun resolveTXT(name: String, handler: Handler<AsyncResult<MutableList<String>>>): DnsClient
Try to resolve the TXT records for the given name. |
|
open fun reverseLookup(ipaddress: String, handler: Handler<AsyncResult<String>>): DnsClient
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. |
|
open fun rxLookup(name: String): Maybe<String>
Try to lookup the A (ipv4) or AAAA (ipv6) record for the given name. The first found will be used. |
|
open fun rxLookup4(name: String): Maybe<String>
Try to lookup the A (ipv4) record for the given name. The first found will be used. |
|
open fun rxLookup6(name: String): Maybe<String>
Try to lookup the AAAA (ipv6) record for the given name. The first found will be used. |
|
open fun rxResolveA(name: String): Single<MutableList<String>>
Try to resolve all A (ipv4) records for the given name. |
|
open fun rxResolveAAAA(name: String): Single<MutableList<String>>
Try to resolve all AAAA (ipv6) records for the given name. |
|
open fun rxResolveCNAME(name: String): Single<MutableList<String>>
Try to resolve the CNAME record for the given name. |
|
open fun rxResolveMX(name: String): Single<MutableList<MxRecord>>
Try to resolve the MX records for the given name. |
|
open fun rxResolveNS(name: String): Single<MutableList<String>>
Try to resolve the NS records for the given name. |
|
open fun rxResolvePTR(name: String): Maybe<String>
Try to resolve the PTR record for the given name. |
|
open fun rxResolveSRV(name: String): Single<MutableList<SrvRecord>>
Try to resolve the SRV records for the given name. |
|
open fun rxResolveTXT(name: String): Single<MutableList<String>>
Try to resolve the TXT records for the given name. |
|
open fun rxReverseLookup(ipaddress: String): Maybe<String>
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. |
|
open fun toString(): String |