UdpAndTcp

Leafs

class System.DnsResolver.Server.UdpAndTcp

Bases: Entity

Class Hierarchy : System DnsResolver Server UdpAndTcp

This class represents configuration data.

Contains UDP- and TCP-specific configuration

parameters for DNS.

address

The address of the DNS server

type: union of the below types:

type: str

pattern: (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?

type: str

pattern: ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?

mandatory: True

port

The UDP and TCP port number of the DNS server

type: int

range: 0..65535

default value: 53