DnsResolver

Leafs

Children

class System.DnsResolver

Bases: Entity

Class Hierarchy : System DnsResolver

This class represents configuration data.

Configuration of the DNS resolver.

search

An ordered list of domains to search when resolving a host name

type: list of str

pattern: ((([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.)*([a-zA-Z0-9_]([a-zA-Z0-9\-_]){0,61})?[a-zA-Z0-9]\.?)|\.

server

List of the DNS servers that the resolver should query. When the resolver is invoked by a calling application, it sends the query to the first name server in this list. If no response has been received within ‘timeout’ seconds, the resolver continues with the next server in the list. If no response is received from any server, the resolver continues with the first server again. When the resolver has traversed the list ‘attempts’ times without receiving any response, it gives up and returns an error to the calling application. Implementations MAY limit the number of entries in this list

type: list of Server

options

Resolver options. The set of available options has been limited to those that are generally available across different resolver implementations and generally useful

type: Options