import { resolve6 } from "https://deno.land/std@0.145.0/node/dns.ts";
Uses the DNS protocol to resolve a IPv6 addresses (AAAA
records) for the
hostname
. The addresses
argument passed to the callback
function
will contain an array of IPv6 addresses.
Parameters
callback: (err: ErrnoException | null, addresses: string[]) => void
Parameters
options: ResolveWithTtlOptions
callback: (err: ErrnoException | null, addresses: RecordWithTtl[]) => void
Parameters
options: ResolveOptions
callback: (err: ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void