Book Image

DNS in Action

By : CP Books a.s.
Book Image

DNS in Action

By: CP Books a.s.

Overview of this book

The Domain Name System is one of the foundations of the internet. It is the system that allows the translation of human-readable domain names into machines-readable IP addresses and the reverse translation of IP addresses into domain names. This book describes the basic DNS protocol and its extensions; DNS delegation and registration, including for reverse domains; using DNS servers in networks that are not connected to the internet; and using DNS servers on firewall machines. Many detailed examples are used throughout the book to show perform various configuration and administration tasks.
Table of Contents (16 chapters)
DNS in Action
About the Authors
Country Codes and RIRs

6.1 Example 1

The hostmaster of the company decides to administer the primary name server on one of the company’s computers. The server is called and has the IP address The server runs on UNIX and BIND version 4.9. (Windows 2000/2003 has a similar configuration.) The administrator wants to administer the secondary name server on an ISP name server called

The following diagram shows the hierarchy of name servers, and the sections below describe the individual configuration files or their sections that specify the required delegation:

Figure 6.1: Domain delegation

6.1.1 Server

This server acts as a primary server for the company.tld zone.

File named.boot

primary company.tld


@ IN SOA (
1998082402 ; Serial
28800 ; Refresh 8 hours
7200 ; Retry 2 hour
604800 ; Expire 7 days
86400 ) ; Minimum TTL 1 day
; ns records specifying the authoritative...