Skip to main content
ResolverOptions - dns - Node documentation
interface ResolverOptions

Usage in Deno

import { type ResolverOptions } from "node:dns";

Properties

optional
timeout: number | undefined

Query timeout in milliseconds, or -1 to use the default timeout.

optional
tries: number

The number of tries the resolver will try contacting each name server before giving up.

Back to top