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

Get CentOS 6 Linux Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.