Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Configuration Files > splitdns.config
splitdns.config
Help | Content Gateway | Version 7.8.x
The splitdns.config file enables you to specify the DNS server that Content Gateway should use for resolving hosts under specific conditions.
To specify a DNS server, you must supply the following information in each active line within the file:
*
*
You can also include the following optional information with each DNS server specification:
*
*
For more information, see Using the Split DNS option.
 
Important 
After you modify this file, run content_line -x from the Content Gateway bin directory (/opt/WCG/bin) to apply the changes. When you apply the changes to a node in a cluster, Content Gateway applies the changes to all nodes in the cluster.
Format
Each line in the splitdns.config file uses one of the following formats:
dest_domain=dest_domain | dest_host | url_regex named=dns_server
def_domain=def_domain search_list=search_list
The following table describes each field.
 
This is a required directive. It identifies the DNS server for Content Gateway to use with the destination specifier. You can specify a port using a colon (:). If you do not specify a port, 53 is used. You can specify multiple DNS servers separated by spaces or by semicolons (;).
A list of domains separated by spaces or semicolons (;). This specifies the domain search order. If you do not provide the search list, the system determines the value from /etc/resolv.conf.
Examples
Consider the following DNS server selection specifications:
dest_domain=internal.company.com named=255.255.255.255:212 255.255.255.254 def_domain=company.com search_list=company.com company1.com
dest_domain=!internal.company.com named=255.255.255.253
Now consider the following two requests:
*
This request matches the first line and select DNS server 255.255.255.255 on port 212. All resolver requests will use company.com as the default domain, and company.com and company1.com as the set of domains to search first.
*
This request will match the second line. Therefore, Content Gateway selects DNS server 255.255.255.253. No def_domain or search_list was supplied, so Content Gateway retrieves this information from /etc/resolv.conf.

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Configuration Files > splitdns.config
Copyright 2016 Forcepoint LLC. All rights reserved.