reverse

external fun reverse(ip: String, callback: (err: ErrnoException?, ReadonlyArray<String>) -> Unit)(source)

Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an array of host names.

On error, err is an Error object, where err.code is one of the DNS error codes.

Since

v0.1.16


suspend external fun reverse(ip: String): ReadonlyArray<String>(source)