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

Usage in Deno

import { promises } from "node:dns";
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