Building a caching-only nameserver with BIND
In this recipe we will learn how to install and configure a caching-only nameserver with BIND.
BIND is the classic domain name solution used by servers all over the world. Otherwise known as the Berkeley Internet Name Domain, it represents an implementation of the DNS protocols that offers a comprehensive array of features that are suitable for any environment. BIND is a big subject, and it is the purpose of this recipe to provide the perfect starting point by showing you how to install BIND and use it as a simple IPv4-based caching-only nameserver that will not only provide caching services for the entire local network, but will also serve to forward all queries to a remote DNS with the intention of speeding up general access to the Internet.
Getting ready
To complete this recipe you will require a working installation of the CentOS 6 operating system with root privileges, a static IP address, and a console-based text editor of your choice. An...