Uses the DNS protocol to resolve IPv6 addresses (AAAA
records) for the hostname
. The addresses
argument passed to the callback
function will contain an array of IPv6 addresses.
namespace
dns.resolve6
hostname: string,
callback: (err: null | ErrnoException, addresses: string[]) => void
): void;
@param hostname
Host name to resolve.
hostname: string,
): void;
Uses the DNS protocol to resolve IPv6 addresses (AAAA
records) for the hostname
. The addresses
argument passed to the callback
function will contain an array of IPv6 addresses.
@param hostname
Host name to resolve.
hostname: string,
): void;
Uses the DNS protocol to resolve IPv6 addresses (AAAA
records) for the hostname
. The addresses
argument passed to the callback
function will contain an array of IPv6 addresses.
@param hostname
Host name to resolve.