function promises.resolve6
Usage
import { promises } from "node:dns"; const { resolve6 } = promises;
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.
options: ResolveWithTtlOptions
Promise<RecordWithTtl[]>
options: ResolveOptions
Promise<string[] | RecordWithTtl[]>