Configure DNS forwarding
DNS forwarding allows you to forward requests from a local DNS server to a recursive DNS server outside the corporate network. This configuration is necessary for your SIA implementation. By directing your enterprise's external DNS traffic to SIA, the requested domains are checked against SIA threat intelligence.
Depending on your network topology and how DNS servers communicate within your organization's network, you may only need to configure the primary DNS servers to forward requests to SIA.
This table lists instructions for common DNS server products. Refer to the instructions for your organization's DNS server product.
SIA offers a 100% uptime service level, as defined in the corresponding Service Level Agreement. If your organization is concerned with connectivity between your forwarding DNS name server and Akamai, you can configure your DNS name server to resolve domains. In most cases, this is done by allowing your DNS name server to use root hints for the resolution.
Product | Procedure |
---|---|
Microsoft Windows Server 2008 R2 Microsoft Windows Server 2016 | Configure DNS forwarders on Microsoft Windows Server 2008 R2 and 2016 |
BIND | Configure DNS forwarding on BIND |
Blue Coat Proxy SG | Configure DNS forwarding on Blue Coat ProxySG |
Palo Alto Networks | Configure a DNS proxy on a Palo Alto Networks firewall |
Citrix NetScaler | Configure DNS recursion on Citrix NetScaler |
Infoblox | Configure DNS forwarders on Infoblox |
Cisco Routers | Configure split-DNS forwarding on Cisco routers |
Unbound | Configure DNS forwarding on Unbound |
Before you begin, make sure that you note the primary and secondary IP addresses of your SIA recursive servers. To learn how to view this information in SIA, see View DNS server information.
View DNS server information
You can view the IPv4 and IPv6 address information for the primary and secondary Akamai DNS recursive servers that are assigned to your enterprise. Traffic is forwarded to these servers. The IP address information is available on the Connection Info page. You can also find this information on the Connection Info dashboard widget.
To view DNS server information:
-
In the Threat Protection navigation menu, select Clients & Connectors > Connection Info.
-
On the Connection Info page, take note of the DNS Server IP addresses.
The DNS Server information is also available on the Connection Info dashboard widget. While you can add this widget to any dashboard, it’s available by default on the Threat Overview dashboard.
Configure DNS forwarders on Microsoft Windows Server 2008 R2 and 2016
Before you begin
-
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
-
Confirm that you have a root hints file configured. The root hints file contains the list of root DNS servers that AD contacts for recursion.
Complete these procedures to configure DNS forwarding on the Microsoft Windows Server 2008 R2 and 2016. You can configure DNS forwarding with the Windows Server graphical user interface or the command line.
Graphical user interface
To configure DNS forwarders on Windows using the graphical user interface:
-
Click Start and then Administrative Tools. Click DNS.
-
Right-click the DNS server that you want to configure as a forwarder.
-
In the Action menu, select Properties.
-
Click the Forwarders tab.
-
Click Edit.
-
In the Edit Forwarders dialog, enter the primary IP address of the SIA recursive DNS server and press Enter.
-
Enter the secondary IP address of the SIA recursive DNS server and press Enter.
-
If other servers are listed as forwarders, delete this information. The primary and secondary recursive DNS servers should be the only forwarders listed.
-
To change the number of seconds that a DNS server waits for a response before it tries the IP address of the other DNS server, enter a new value in the Number of seconds before forward queries times out field.
-
Click OK.
-
Enable the Use roots hints if no forwarders are available option. This option ensures that DNS servers in a root hints file resolve the name locally.
-
In the properties dialog, click OK.
Command line interface
To configure DNS forwarding on Windows using the command line interface:
-
Open a command prompt. Run the command prompt as an administrator.
-
Type this command and press Enter:
dnscmd <ServerName> /ResetForwarders <PrimaryIPaddress ...> [/TimeOut <Time>] /noslave
-
<ServerName> is the hostname or IP address of the DNS server. To specify the DNS on your local computer, you can type
(.)
-
<PrimaryIPaddress > is one or more IP addresses of the DNS servers where you are forwarding queries. In this case, enter the SIA server IP addresses. Separate each IP address with a space.
-
<Time> is the value that you want to configure for the time out setting in seconds. The default time out value is five seconds.
For more information, see Microsoft documentation.
The
/noslave
parameter indicates that the server will use the root hints file to resolve requests locally if it cannot reach SIA. -
Configure DNS forwarding on BIND
Before you begin
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
To configure the BIND DNS server to forward DNS queries to SIA:
-
Open a command prompt or terminal.
-
If you are using a Secure Shell (SSH), enter
ssh username@server
.where:
-
username is the username to access the server remotely.
-
server is the hostname or IP address of the server.
-
-
Change the directory to
/etc/bind
. -
Open the named.conf.options file to edit it.
-
In the forwarders area, enter the IP addresses of the SIA DNS servers.
Make sure that you enter the IP addresses in the { } symbols.
If this BIND server is also a secondary authoritative server for internal zones and you do not want to forward these queries to SIA, you can configure those zones with a blank forwarders list by adding forwarders {} to the internal zone settings in the configuration file. This ensures that recursion for subdomains occurs in the internal zone only.
-
Save and close the file.
Next steps
Restart the BIND daemon. In the terminal, enter this command:
sudo service bind9 restart
Configure DNS forwarding on Blue Coat ProxySG
Before you begin
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
To configure Blue Coat ProxySG to forward requests to SIA:
-
In the ProxySG Management Console, click the Configuration tab.
-
In the navigation menu, click Network > DNS.
-
In the DNS fields, enter the primary and the secondary IP addresses of the SIA recursive servers.
-
Click Apply.
Next steps
Complete these steps to perform a DNS resolution test:
-
Establish an SSH connection to the ProxySG appliance.
-
Enter this command and press Enter:
SG>test dns <domain>
where <domain> is a domain you want to resolve for this test.
Configure a DNS proxy on a Palo Alto Networks firewall
Before you begin
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
To configure a DNS proxy on a Palo Alto Networks firewall:
-
In the Palo Alto Networks firewall, go to Network > DNS Proxy.
-
Click Add.
-
Select the interface or interfaces where the DNS proxy is enabled.
-
In the Inheritance Source list, select none.
-
In the Primary field, enter the primary IP address of the SIA recursive server.
-
In the Secondary field, enter the secondary IP address of the SIA recursive server.
-
To configure static DNS entries that are cached and resolved locally, in the Static Entries tab, click Add and:
-
In the Name column, enter a name to identify the entry
-
In the FQDN column, enter the Fully Qualified Domain Name that you want the firewall to resolve locally
-
In the Address column, enter the associated IP address or addresses
-
-
To configure DNS caching, in the Advanced tab, select Cache. By default, the DNS proxy populates values for the cache size and timeout.
-
Click OK.
Configure DNS recursion on Citrix NetScaler
Before you begin
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
Complete one of these procedures to configure a recursive DNS server on Citrix NetScaler. You can configure DNS recursion on the NetScaler graphical or command line interface.
In NetScaler, DNS recursion applies to a local DNS server configuration only. This functionality is not available in an Authoritative Domain Name Server (ADNS) configuration.
Graphical user interface
To configure DNS recursion on Citrix NetScaler using the graphical user interface:
-
In the navigation menu, click Traffic Management > DNS.
-
Click Change DNS Settings.
-
In the Change DNS Settings dialog:
-
Select Enable recursion.
-
To enable caching, select Records caching.
-
Click OK.
-
-
In the expanded navigation menu for DNS, select Name Servers.
-
Click Add.
-
In the Create Name Server dialog:
-
Make sure that IP address is selected.
-
In the IP Address field, enter the IP address of the primary SIA recursive server.
-
Select Local.
-
Click Create.
-
-
To add the secondary SIA recursive server, repeat steps 5 and 6.
-
Repeat steps 5 and 6 to add a recursive DNS server that will resolve requests if NetScaler cannot reach SIA.
Command line interface
To configure DNS recursion on Citrix NetScaler using the command line interface:
-
Establish an SSH connection to the NetScaler appliance.
-
To configure an SIA DNS server as a DNS nameserver, enter this command and press Enter:
add dns nameserver <IP address> -local
where <IP address> is the IP address of the SIA recursive DNS server.
-
To enable DNS recursion, enter this command and press Enter:
set dns parameter -recursion ENABLED -cacheRecords YES
-
Repeat step 2 to add a recursive DNS server that will resolve requests if NetScaler cannot reach SIA.
Configure DNS forwarders on Infoblox
Before you begin
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
To configure DNS forwarders on Infoblox:
-
From the main navigation menu, click Data Management and then select the DNS tab.
-
Depending on the Infoblox view:
-
In a Grid view, expand the Toolbar on the right side of the application and select Grid DNS Properties.
-
In a Members view, click the Members tab. Select the member and then click the edit icon.
-
In a DNS view, click the Zones tab. Select the appropriate DNS view and click the edit icon.
-
-
Click Forwarders and in the panel that appears click the add icon.
-
In the provided field, enter the IP address of the primary SIA recursive DNS server.
-
Click Save & Close.
Next steps
If prompted to restart services, click Restart.
Configure split-DNS forwarding on Cisco routers
Before you begin
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
To separate the DNS resolution of internal domains from external domains, configure split-DNS forwarding with Cisco routers. This lets you use the local DNS server for internal domain resolution for internal applications or resources while directing external domain requests to SIA.
To configure split-DNS forwarding on Cisco routers:
-
Log in the Cisco router:
-
Open a command prompt or terminal window.
-
Enter this command:
telnet <IP address>
where <IP address> is the IP address of router.
-
Enter your username and press Enter.
-
When prompted for your password, enter your password.
-
-
Enter this command to access global configuration settings:
configure terminal
-
Configure the DNS server configuration on the router to send requests to SIA. Enter this command:
ip name-server <<<PRODUCT_NICKNAME>>_primaryIP> <<<PRODUCT_NICKNAME>>_secondaryIP>
where:
-
<SIA_primaryIP> is the IP address of the primary SIA recursive DNS server.
-
<SIA_secondaryIP> is the IP address of the secondary SIA recursive DNS server.
-
-
Configure DNS forwarding:
-
Enter this command to define the default DNS view:
ip dns view default
-
Enter this command to define DNS forwarding for incoming DNS requests:
dns forwarder <<<PRODUCT_NICKNAME>>_primaryIP> <<<PRODUCT_NICKNAME>>_secondaryIP>
where:
-
<SIA_primaryIP> is the IP address of the primary SIA recursive DNS server.
-
<SIA_secondaryIP> is the IP address of the secondary SIA recursive DNS server.
-
-
Enter this command to define an internal DNS view:
ip dns view internal_dns
-
Enter this command to forward internal requests to your organization's internal DNS server:
dns forwarder <Internal_DNS_IP1> <Internal_DNS_IP2>
where:
-
<Internal_DNS_IP1> is the IP address of your internal DNS server.
-
<Internal_DNS_IP2> is the IP address of your secondary internal DNS server.
-
-
-
Enter this command to configure a list of internal domains that you want the internal DNS server to resolve.
ip dns name-list <number> permit <domain>
where:-
<number> is a number ranging from 1 to 500 that identifies the list.
-
<domain> is a domain. Regular expressions and regular expression pattern-matching characters are supported.
-
-
Execute these commands to configure DNS views or to specify the parameters that define how DNS queries are handled. In this step, you'll also configure a list of DNS views.
-
Enter this command to define conditions for a view list.
ip dns view-list conditional
-
Enter this command:
view internal_dns 10
-
Enter this command:
restrict name-group 1
-
Enter this command:
view default 99
-
-
Enter these commands to enable the view list on the router and the DNS service.
ip dns server view-group conditional
ip dns server
Configure DNS forwarding on Unbound
Before you begin
-
Note the IP addresses of the SIA recursive DNS servers. For more information, see View DNS server information.
-
Confirm that you have a root hints file configured . The root hints file (
root.hints
) contains DNS servers that your enterprise DNS server can contact if it's unable to reach SIA.
To configure DNS forwarding on an Unbound DNS server:
-
Log in to the Unbound server.
-
From a terminal window, use a Linux text editor such as vi or Vim to open the
unbound.conf
file.The
unbound.conf
is usually copied to/usr/local/etc/unbound/unbound.conf
but it also can be located in/etc/unbound/unbound.conf
or/etc/unbound.conf
. -
Locate the
forward-zone
area of the file. -
Under
forward-zone
, enter this information:forward-zone: name: "." forward-addr: <<<PRODUCT_NICKNAME>>_primary_IP> forward-addr: <<<PRODUCT_NICKNAME>>_secondary_IP>
where:
-
<SIA_primary_IP> is the IP address of the primary SIA recursive server.
-
<SIA_secondary_IP> is the IP address of the secondary SIA recursive server.
-
-
In the configuration file, enter this information to direct Unbound to the root hints file when Unbound is unable to reach SIA.
root-hints: root.hints
-
Save these changes.
Updated about 2 years ago