Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DNS in Action

You're reading from   DNS in Action A detailed and practical guide to DNS implementation, configuration, and administration

Arrow left icon
Product type Paperback
Published in Apr 2006
Publisher Packt
ISBN-13 9781904811787
Length
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
CP Books a.s. CP Books a.s.
Author Profile Icon CP Books a.s.
CP Books a.s.
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

DNS in Action
Credits
About the Authors
1. Preface
1. Domain Name System FREE CHAPTER 2. DNS Protocol 3. DNS Extension 4. Name Server Implementation 5. Tools for DNS Debugging and Administration 6. Domain Delegation and Registration 7. Reverse Domain Delegation 8. Internet Registry 9. DNS in Closed Intranets 10. DNS and Firewall Country Codes and RIRs
Index

9.1 Configuring a Root Name Server on the Same Server (BIND Version 4)


Let’s say you have two name servers in your closed intranet: ns1.company.com at IP address 10.1.1.1 and ns2.company.com at IP address 10.2.2.2. Configure both name servers as root name servers and, at the same time, as name servers for the company.com domain.

You will need to insert a line in the /etc/named.boot file of the ns1.company.com and ns2.company.com servers. This line will declare that your name server is also the primary name server for the root domain ‘.’:

...
primary company.com file1
primary . file2
...

Note that, there is no line containing the cache command.

It is important to check file2, which specifies the root domain:

@ IN SOA ...
IN NS ns1.company.com.
IN NS ns2.company.com.
company.com IN NS ns1.company.com.
IN NS ns2.company.com.
ns1.company.com. IN A 10.1.1.1
ns2.company.com. IN A 10.1.1.1

In this file, we have not inserted any NS resource record for other domains than company.com. That is why there...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image