Skip to main content

resolvePtr

function resolvePtr
Jump to headingresolvePtr(hostname: string): Promise<string[]>

Uses the DNS protocol to resolve pointer records (PTR records) for the hostname. On success, the Promise is resolved with an array of strings containing the reply records.

Parameters Jump to heading

Jump to headinghostname: string

Return Type Jump to heading

Promise<string[]>
Back to top