W3cubDocs

/Deno

Deno.ResolveDnsOptions

interface ResolveDnsOptions {
nameServer?: {
ipAddr: string;
port?: number;
}
;
}

Properties

nameServer?: {
ipAddr: string;
port?: number;
}

The name server to be used for lookups. If not specified, defaults to the system configuration e.g. /etc/resolv.conf on Unix.