function getDefaultResultOrder
Usage in Deno
import { getDefaultResultOrder } from "node:dns";
getDefaultResultOrder(): "ipv4first"
| "ipv6first"
| "verbatim"
Get the default value for order
in lookup and dnsPromises.lookup()
.
The value could be:
ipv4first
: fororder
defaulting toipv4first
.ipv6first
: fororder
defaulting toipv6first
.verbatim
: fororder
defaulting toverbatim
.
"ipv4first"
| "ipv6first"
| "verbatim"