Prev: Next: Up: Configuration[Contents][Index]


9.12 Resolver

The Resolver section controls DNS lookups for dynamic backend generation (see Dynamic backends). It can contain the following directives:

Resolver: CNAMEChain n

Maximum allowed length of a CNAME chain. CNAME chains are formed by DNS CNAME records pointing to another CNAME. Although prohibited by the RFC, such usage occurs sometimes in the wild. By default, pound does not accept CNAME chains. If you work with nameservers that declare such chains, set this statement to a small integer value, defining maximum number of CNAME records in the chain that pound will accept. The value of 2 or 3 should suffice in most cases.

Resolver: ConfigFile file

Read resolver configuration from file. Default is /etc/resolv.conf.

Resolver: ConfigText ... End

The material within this section is read verbatim and used as the content of the resolver configuration file. E.g.:

Resolver
        ConfigText
                domain example.org
                nameserver 192.0.2.1
                nameserver 192.0.2.4
        End
End

If both ConfigFile and ConfigText are used, the last statement used wins.

Resolver: Debug bool

If set to true, enables DNS debugging info.

Resolver: RetryInterval n

Interval in seconds, after which to retry failed DNS queries or queries that returned no RRs. This value is used unless the backend defines its own retry interval value.