function resolve6
Jump to headingresolve6(hostname: string): Promise<string[]>
Uses the DNS protocol to resolve IPv6 addresses (AAAA
records) for the hostname
. On success, the Promise
is resolved with an array of IPv6
addresses.
Parameters Jump to heading
Jump to headinghostname: string
Host name to resolve.
Return Type Jump to heading
Promise<string[]>
Jump to headingresolve6(hostname: string,options: ResolveWithTtlOptions,): Promise<RecordWithTtl[]>
Parameters Jump to heading
Jump to headinghostname: string
Jump to headingoptions: ResolveWithTtlOptions
Return Type Jump to heading
Promise<RecordWithTtl[]>
Jump to headingresolve6(hostname: string,options: ResolveOptions,): Promise<string[] | RecordWithTtl[]>
Parameters Jump to heading
Jump to headinghostname: string
Jump to headingoptions: ResolveOptions
Return Type Jump to heading
Promise<string[] | RecordWithTtl[]>