Options

Leafs

class System.DnsResolver.Options

Bases: Entity

Class Hierarchy : System DnsResolver Options

This class represents configuration data.

Resolver options. The set of available options has been

limited to those that are generally available across

different resolver implementations and generally useful.

timeout

The amount of time the resolver will wait for a response from each remote name server before retrying the query via a different name server

type: int

range: 1..255

units: seconds

default value: 5

attempts

The number of times the resolver will send a query to all of its name servers before giving up and returning an error to the calling application

type: int

range: 1..255

default value: 2