Chapter 2. Berkley Internet Name Daemons (BIND)

Table of Contents

Introduction
Our sample network
A review of some theory on domains and sub-domains
DNS - Administration and delegation
Some Examples of Zones
Zones in Summary
Name resolution
Caching replies
Reverse queries
Masters and slaves
Configuration of the Master Server
The named configuration file
Error messages
Starting the DNS Server
Troubleshooting zone and configuration files
Configuring your resolver (revisited)
The nameserver directive
The search directive
The domain directive
The sortlist directive
Master server shortcuts
The $ORIGIN directive
The @ directive
The $TTL directive
Configuring the Slave Name Server
The slave name server
Slave server settings in the SOA resource record
Serial and refresh
Expire time
Retry time
TTL time and negative caching
Mail exchange record (MX)
Rndc
A caching only name server
Research Resources:

Introduction

This module will walk you through the configuration of a DNS name server. In the Linux world, DNS is generally maintained by the BIND software, which is currently in it's 9th revision. There are, of course other DNS server software out there, but since almost the entire Internet uses BIND, and it has been the most long-serving DNS server, we will focus on BIND in this course.[2]

Before we being diving into configuring BIND, we need to review a couple of topics that you may or may not know about. We will also need to sketch the setup of our private network to make understanding the structure of our DNS simpler.



[2] The other DNS server that is becoming popular is Dan Bernstein's djbdns DNS server. See http://djbdns.org for more information on this DNS server alternative.