5.7.4.1. DNSMatcher methods

MethodDescription
__init__(self, hosts, server) Constructor to initialize an instance of the DNSMatcher class.

Table 5.60. Method summary

Method __init__(self, hosts, server)

This constructor initializes an instance of the DNSMatcher class.

Arguments of __init__
hosts (complex)
Default: n/a
Hostnames to resolve.

server (string)
Default: None
IP address of the DNS server to query. Defaults to the servers set in the resolv.conf file.