resolvePtr

external fun resolvePtr(hostname: String, callback: (err: ErrnoException?, <Error class: unknown class><String>) -> Unit)(source)

Uses the DNS protocol to resolve pointer records (PTR records) for the hostname. The addresses argument passed to the callback function will be an array of strings containing the reply records.

Since

v6.0.0


suspend external fun resolvePtr(hostname: String): <Error class: unknown class><String>(source)