Quantcast
Channel: Brain Book
Viewing all articles
Browse latest Browse all 195

UBUNTU-BIND9-CACHING-NAME-SERVER

$
0
0

Caching Nameserver



The default configuration is setup to act as a caching server. All that is required is simply adding the IP Addresses of your ISP's DNS servers. Simply uncomment and edit the following in /etc/bind/named.conf.options:

 
forwarders {
1.2.3.4;
5.6.7.8;
 };


Listen-on { 127.0.0.1; 192.168.1.x; };

Replace 1.2.3.4 and 5.6.7.8 with the IP Adresses of actual nameservers. Also add "Listen-on line to limit the dns to specific interface.   

Now restart the DNS server, to enable the new configuration. From a terminal prompt:

 
sudo service bind9 restart


use dig tool to check

Viewing all articles
Browse latest Browse all 195

Trending Articles