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

Usage in Deno

```typescript import { promises } from "node:node__dns.d.ts"; ```
getDefaultResultOrder(): "ipv4first" | "verbatim"
Get the default value for `verbatim` in [lookup](../.././node__dns.d.ts/~/promises.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"