5.11.3. Class DNSResolver

DNSResolver policies query the domain name server used by Zorp in general to resolve domain names.

Example 5.29. A simple DNSResolver policy

Below is a simple DNSResolver policy enabled to return multiple 'A' records.

ResolverPolicy(name="Mailservers", resolver=DNSResolver(multi=TRUE))