Configure DNS forwarding on BIND

Before you begin

Note the IP addresses of the ETP recursive DNS servers. For more information, see View DNS server information

Complete this procedure to configure the BIND DNS server to forward DNS queries to ETP.

How to

  1. Open a command prompt or terminal.
  2. If you are using a Secure Shell (SSH), enter ssh username@server
    • username is the username to access the server remotely.
    • server is the hostname or IP address of the server.
  3. Change the directory to etc/bind.
  4. Open the named.conf.options file to edit it.
  5. In the forwarders area, enter the IP addresses of the ETP DNS servers.
    Make sure that you enter the IP addresses in the { } symbols.
    Note: If this BIND server is also a secondary authoritative server for internal zones and you do not want to forward these queries to ETP, 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.
  6. Save and close the file.

Next steps

Restart the BIND daemon. In the terminal, enter this command:
sudo service bind9 restart