function resolve6
resolve6(hostname: string,callback: (err: ErrnoException | null,addresses: string[],) => void,): voidDeprecated
Deno compatibility
The ttl option is not supported.
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.
voidresolve6(hostname: string,options: ResolveWithTtlOptions,callback: (err: ErrnoException | null,addresses: RecordWithTtl[],) => void,): voidDeprecated
Deno compatibility
The ttl option is not supported.
options: ResolveWithTtlOptionscallback: (err: ErrnoException | null,addresses: RecordWithTtl[],) => voidvoidresolve6(hostname: string,options: ResolveOptions,callback: (err: ErrnoException | null,addresses: string[] | RecordWithTtl[],) => void,): voidDeprecated
Deno compatibility
The ttl option is not supported.
options: ResolveOptionscallback: (err: ErrnoException | null,addresses: string[] | RecordWithTtl[],) => voidvoid