Skip to main content
getDefaultResultOrder - node__dns--promises.d.ts - Node documentation
function getDefaultResultOrder

Usage in Deno

```typescript import { getDefaultResultOrder } from "node:node__dns--promises.d.ts"; ```
getDefaultResultOrder(): "ipv4first" | "verbatim"
Get the default value for `verbatim` in [lookup](../.././node__dns--promises.d.ts/~/lookup) and [dnsPromises.lookup()](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options). The value could be: * `ipv4first`: for `verbatim` defaulting to `false`. * `verbatim`: for `verbatim` defaulting to `true`.

Return Type

"ipv4first" | "verbatim"