vertx / io.vertx.rxjava.core.dns / DnsClient / reverseLookup

reverseLookup

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.

Parameters

ipaddress - the IP address to resolve the PTR for

handler - the to notify with the . The handler will get notified with the resolved java.lang.String if a record was found. If none was found it will get notified with null. If an error accours it will get failed.

Return
a reference to this, so the API can be used fluently.