Writing zone files for BIND
In this recipe we will learn how to write both the forward and reverse zone files for BIND.
Having already configured a caching-only nameserver, we will now approach the subject of zone files in order that you can provide name resolution across a local network. BIND is complicated, but as it represents the industry standard when building a nameserver solution of choice. It is the purpose of this recipe to introduce you to the process of writing zone files.
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. It is assumed that you have already installed BIND.
How to do it...
Zone files are simple text files that contain pertinent information regarding the configuration of our DNS-based data. They contain directives, resources, user-based administrative comments, and they are used to describe part of the overall domain...