Free Hosting Online for WorkStations

< Previous | Contents | Next >

2.2. 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;


Replace 1.2.3.4 and 5.6.7.8 with the IP Adresses of actual nameservers.


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


sudo systemctl restart bind9.service


See Section 3.1.2, “dig” [p. 174] for information on testing a caching DNS server.


Top OS Cloud Computing at OnWorks: