User Tools

Site Tools


ubuntu:bind:configure_bind9:caching_nameserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:bind:configure_bind9:caching_nameserver [2020/12/09 14:13] – created peterubuntu:bind:configure_bind9:caching_nameserver [2020/12/09 14:15] (current) peter
Line 1: Line 1:
 ====== Ubuntu - Bind - Configure Bind9 - Caching Nameserver ====== ====== Ubuntu - Bind - Configure Bind9 - Caching Nameserver ======
  
 +The default configuration acts as a caching server.
 +
 +Simply uncomment and edit **/etc/bind/named.conf.options** to set the IP addresses of the DNS servers you want to use; such as your ISP’s DNS servers:
 +
 +<code bash>
 +forwarders {
 +    1.2.3.4;
 +    5.6.7.8;
 +};
 +</code>
 +
 +<WRAP info>
 +**NOTE:**  Replace 1.2.3.4 and 5.6.7.8 with the IP Addresses of actual nameservers.
 +</WRAP>
 +
 +
 +To enable the new configuration, restart the DNS server:
 +
 +<code bash>
 +sudo systemctl restart bind9.service
 +</code>
 +
 +----
 +
 +See dig for information on testing a caching DNS server.
ubuntu/bind/configure_bind9/caching_nameserver.1607523223.txt.gz · Last modified: 2020/12/09 14:13 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki