Skip to main content
getDefaultResultOrder - dns/promises - Node documentation
function getDefaultResultOrder

Usage in Deno

import { getDefaultResultOrder } from "node:dns/promises";
getDefaultResultOrder(): "ipv4first" | "verbatim"

Get the default value for verbatim in lookup and dnsPromises.lookup(). The value could be:

  • ipv4first: for verbatim defaulting to false.
  • verbatim: for verbatim defaulting to true.

Return Type

"ipv4first" | "verbatim"
Back to top