Skip to main content
Deno.ResolveDnsOptions.nameServer - Deno documentation
property Deno.ResolveDnsOptions.nameServer

The name server to be used for lookups.

If not specified, defaults to the system configuration. For example /etc/resolv.conf on Unix-like systems.

Properties

ipAddr: string

The IP address of the name server.

optional
port: number = 53

The port number the query will be sent to.