Interface DnsConfig

Specifies DNS options for the client.

Volatile: This API is subject to change at any time.

interface DnsConfig {
    dnsSrvTimeout?: number;
    nameserver?: string;
    port?: number;
}

Properties

dnsSrvTimeout?: number

Specifies the default timeout for DNS SRV operations, specified in millseconds.

nameserver?: string

Specifies the nameserver to be used for DNS query when connecting.

port?: number

Specifies the port to be used for DNS query when connecting.