DNS

Configuration Variable Data Type Description
proxy.config.dns.search_ default_domains INT

Default: 1

Enables (1) or disables (0) local domain expansion so that Content Gateway can attempt to resolve unqualified hostnames by expanding to the local domain; for example, if a client makes a request to an unqualified host named host_x, and if the Content Gateway local domain is y.com, Content Gateway expands the hostname to host_x.y.com.

proxy.config.dns.splitDNS. enabled INT

Default: 0

Enables (1) or disables (0) DNS server selection. When enabled, Content Gateway refers to the splitdns.config file for the selection specification.

See Using the Split DNS option

proxy.config.dns.splitdns.def_ domain STRING

Default: NULL

The default domain for split DNS requests. This value is appended automatically to the hostname if it does not include a domain before split DNS determines which DNS server to use.

proxy.config.dns.splitdns.fast_ match.count INT

Default: 4

The maximum number of rules that can exist in order for the NOT logical operator (!) to be applied to any of the rules.

proxy.config.dns.url_expansions STRING

Default: NULL

A list of extensions automatically added to the hostname after a failed lookup; for example, if you want Content Gateway to add the hostname extension .org, specify org as the value for this variable (Content Gateway automatically adds the dot (.) before the extension.)

Note: If proxy.config.http.enable_url_ expandomatic is set to 1 (default), you do not have to add www.and .com to this list; Content Gateway tries www.and .com automatically after trying the values you specify.

proxy.config.dns.lookup_ timeout INT

Default: 20

The DNS lookup timeout duration in seconds. When the timeout period expires, the lookup attempt is terminated.

The default value is lower than proxy. config.hostdb.lookup_timeout and, therefore, takes precedence.

proxy.config.dns.retries INT

Default: 1

The number of times a DNS lookup is retried before giving up.

proxy.config.dns.prefer_ipv4 INT

Default: 1

When a name resolves to both IPv4 and IPv6 addresses, specifies the preferred address type.

proxy.config.ipv6.ipv6_enabled INT

Default: 0

Used to enable (1) or disable (0) support for IPv6.