Skip to main content
function getDefaultResultOrder
getDefaultResultOrder():
"ipv4first"
| "ipv6first"
| "verbatim"
Deprecated

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

  • ipv4first: for order defaulting to ipv4first.
  • ipv6first: for order defaulting to ipv6first.
  • verbatim: for order defaulting to verbatim.

Return Type

"ipv4first"
| "ipv6first"
| "verbatim"
Back to top