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
Credits
About the Authors
Preface
Country Codes and RIRs
Index

6.2 Example 2


For its branch office, Company Ltd. plans to create a subdomain within the company.tld domain called branch.company.tld. The branch will administer its own name server called ns.branch.company.tld with the IP address 194.149.10.129. The secondary name server for the branch.company.tld domain will be configured on the ns.company.tld name server.

The following list shows the individual configuration files or their sections that specify the required delegation. The bold lines are the lines that relate to the delegation of the branch.company.tld domain. These lines have been added to the configuration files from the previous example.

6.2.1 Server ns.company.com

File named.boot

...
primary company.tld company.tld.zone
secondary branch.company.tld 194.149.10.129 branch.company.tld.zone

...

File company.tld.zone

@ IN SOA ns.company.tld hostmaster.company.tld (
1998082402 ; Serial
28800 ; Refresh 8 hours
7200 ; Retry 2 hour
604800 ; Expire 7 days
86400 ) ; Minimum TTL 1 day

; ns...