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.
function
dns.promises.resolve6
hostname: string
): Promise<string[]>;
@param hostname
Host name to resolve.
hostname: 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.
@param hostname
Host name to resolve.
hostname: 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.
@param hostname
Host name to resolve.