DNS and BIND is about one of the Internet's fundamental building blocks: the distributed host information database that's responsible for translating names into addresses, routing mail to its proper destination, and many other services. As the authors say in the preface, if you're using the Internet, you're already using DNS--even if you don't know it.This edition brings you up to date on the new 9.1.0 and 8.2.3 versions of BIND along with the older 4.9 version. There's also more extensive coverage of NOTIFY, IPv6 forward and reverse mapping, transaction signatures, and the new DNS Security Extensions; and a new section on accommodating Windows 2000 clients, servers and Domain Controllers.Whether you're an administrator involved daily with DNS or a user who wants to be more informed about the Internet and how it works, you'll find this book essential reading.Topics include:
What DNS does, how it works, and when you need to use it
How to find your own place in the Internet's name space
Setting up name servers
Using MX records to route mail
Configuring hosts to use DNS name servers
Subdividing domains (parenting)
Securing your name server: restricting who can query your server, preventing unauthorized zone transfers, avoiding bogus name servers, etc.
Mapping one name to several servers for load sharing
Troubleshooting: using nslookup, reading debugging output, common problems
DNS programming, using the resolver library and Perl's Net::DNS module
Chapter 1 Background
A (Very) Brief History of the Internet
On the Internet and internets
The Domain Name System in a Nutshell
The History of BIND
Must I Use DNS?
Chapter 2 How Does DNS Work?
The Domain Name Space
The Internet Domain Name Space
Name Servers and Zones
Chapter 3 Where Do I Start?
Choosing a Domain Name
Chapter 4 Setting Up BIND
Setting Up Zone Data
Setting Up a BIND Configuration File
Host Name Checking (BIND 4.9.4 and Later Versions)
Running a Primary Master Name Server
Running a Slave Name Server
Adding More Zones
Chapter 5 DNS and Electronic Mail
What’s a Mail Exchanger, Again?
The MX Algorithm
Chapter 6 Configuring Hosts
Sample Resolver Configurations
Minimizing Pain and Suffering
Vendor -Specific Options
Chapter 7 Maintaining BIND
Controlling the Name Server
Updating Zone Data Files
Organizing Your Files
Changing System File Locations in BIND 8 and 9
Logging in BIND 8 and 9
Keeping Everything Running Smoothly
Chapter 8 Growing Your Domain
How Many Name Servers?
Adding More Name Servers
Registering Name Servers
Planning for Disasters
Coping with Disaster
Chapter 9 Parenting
When to Become a Parent
How Many Children?
What to Name Your Children
How to Become a Parent: Creating Subdomains
Subdomains of in-addr.arpa Domains
Managing the Transition to Subdomains
The Life of a Parent
Chapter 10 Advanced Features
Address Match Lists and ACLs
DNS Dynamic Update
DNS NOTIFY (Zone Change Notification)
Incremental Zone Transfer (IXFR)
Round Robin Load Distribution
Name Server Address Sorting
Preferring Name Servers on Certain Networks
A Nonrecursive Name Server
Avoiding a Bogus Name Server
The ABCs of IPv6 Addressing
Addresses and Ports
IPv6 Forward and Reverse Mapping
Chapter 11 Security
Securing Your Name Server
DNS and Internet Firewalls
The DNS Security Extensions
Chapter 12 nslookup and dig
Is nslookup a Good Tool?
Interactive Versus Noninteractive
Avoiding the Search List
Less Common Tasks
Troubleshooting nslookup Problems
Best of the Net
Chapter 13 Reading BIND Debugging Output
Turning On Debugging
Reading Debugging Output
The Resolver Search Algorithm and Negative Caching (BIND 8)
The Resolver Search Algorithm and Negative Caching (BIND 9)
Chapter 14 Troubleshooting DNS and BIND
Is NIS Really Your Problem?
Troubleshooting Tools and Techniques
Potential Problem List
Interoperability and Version Problems
Chapter 15 Programming with the Resolver and Name Server Library Routines
Shell Script Programming with nslookup
C Programming with the Resolver Library Routines
Perl Programming with Net::DNS
Chapter 16 Miscellaneous
Using CNAME Records
A Limitation of MX Records
Network Names and Numbers
Additional Resource Records
DNS and WINS
DNS and Windows 2000
Appendix DNS Message Format and Resource Records
Master File Format
Resource Record Data
Appendix BIND Compatibility Matrix
Appendix Compiling and Installing BIND on Linux
Instructions for BIND 8.2.3
Instructions for BIND 9.1.0
Appendix Top-Level Domains
Appendix BIND Name Server and Resolver Configuration
BIND Name Server Boot File Directives and Configuration File Statements
Paul Albitz is a software engineer at Hewlett-Packard. Paul earned a Bachelor of Science degree from the University of Wisconsin, LaCrosse, and a Master of Science degree from Purdue University. Paul worked on BIND for the HP-UX 7.0 and 8.0 releases. During this time Paul developed the tools used to run the hp.com domain. More recently he has been involved in networking HP's DesignJet plotter. Before joining HP, Paul was a system administrator in the CS Department of Purdue University. As system administrator, Paul ran versions of BIND before BIND's initial release with 4.3 BSD. Paul and his wife Katherine live in San Diego, CA.
Cricket Liu matriculated at the University of California's Berkeley campus, that great bastion of free speech, unencumbered Unix, and cheap pizza. He joined Hewlett-Packard after graduation and worked for HP for nine years. Cricket began managing the hp.com zone after the Loma Prieta earthquake forcibly transferred the zone's management from HP Labs to HP's Corporate Offices (by cracking a sprinkler main and flooding Labs' computer room). Cricket was firstname.lastname@example.org for over three years, and then joined HP's Professional Services Organization to cofound HP's Internet Consulting Program. Cricket left HP in 1997 to form Acme Byte & Wire, a DNS consulting and training company, with his friend (and now co-author) Matt Larson. Network Solutions acquired Acme in June 2000, and later the same day merged with VeriSign. Cricket worked for a year as Director of DNS Product Management for VeriSign Global Registry Services. Cricket joined Men & Mice, an Icelandic company specializing in DNS software and services, in September, 2001. He is currently their Vice President, Research & Development. Cricket, his wife, Paige, and their son, Walt, live in Colorado with two Siberian Huskies, Annie and Dakota. On warm weekend afternoons, you'll probably find them on the flying trapeze or wakeboarding behind Betty Blue.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The insects featured on the cover of DNS and BIND are grasshoppers. Grasshoppers are found all over the globe. Of over 5000 species, 100 different grasshopper species are found in North America. Grasshoppers are greenish-brown, and range in length from a half inch to four inches, with wingspans of up to six inches. Their bodies are divided into three sections: the head, thorax, and abdomen, with three pairs of legs and two pairs of wings.Male grasshoppers use their hind legs and forewings to produce a "chirping" sound. Their hind legs have a ridge of small pegs that are rubbed across a hardened vein in the forewing, causing an audible vibration much like a bow being drawn across a string.Grasshoppers are major crop pests, particularly when they collect in swarms. A single grasshopper can consume 30 mg of food a day. In collections of 50 or more grasshoppers per square yard--a density often reached during grasshopper outbreaks--grasshoppers consume as much as a cow would per acre. In addition to consuming foliage, grasshoppers damage plants by attacking them at vulnerable points and causing the stems to break off. Emily Quill was the production editor and proofreader for DNS & BIND, Fourth Edition. Leanne Soylemez was the copyeditor, and also provided production assistance. Catherine Morris and Matt Hutchinson performed quality control reviews. Brenda Miller wrote the index. Production assistance was provided by Edith Shapiro and Sada Preisch.Edie Freedman designed the cover of this book, using a 19th-century engraving from the Dover Pictorial Archive. Emma Colby and Erica Corwell produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.David Futato and Melanie Wang designed the interior layout, based on a series design by Nancy Priest. Anne-Marie Vaduva converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. The illustrations that appear in this book were produced by Robert Romano and Jessamyn Read using Macromedia Freehand 9 and Adobe Photoshop 6. This colophon was written by Clairemarie Fisher O'Leary.
Suited well for either the entry-level computer user or the advanced network administrator, DNS and BIND is a concise guide to DNS basics and particulars of ISC's BIND. Those unfamiliar with DNS will find the preface an awakening to aspects of the operation of the internet most likely previously taken for granted. After the importance of DNS is explained, the first chapter discusses the reasons, including a brief history of the internet. From this point, the methods of operation are discussed, and an interactive fictional setup is performed, from choosing a domain name to configuring multiple DNS servers. Coming back to focus on specific topics in greater detail, such as the role of DNS in Electronic Mail, discussions on hierarchy and topology, advanced zone data configuration, and security, the work adequately fulfills the role of essential desktop reference material. Particularly useful is the information regarding the operation of DNS and, specifically, BIND with environments involving Active Directory, WINS, and other Microsoft implements. Whether you seek a well-organized guide and reference to advanced DNS administration, or are in the mood for a refreshing review and story-like overture and illustration of the Domain Name System, this book deserves a complete read and it's place on your reference desk.
I used the 3rd edition as reference to fix a resolver problem in HP-UX. This involved bad nameserver maintenance from the parent. Having read half of the 3rd edition, and now nearly all of the 4th, I must say Cricket and Paul have truly improved on a great effort. This book gives everything you will need to manage DNS/BIND for version 4, 8 and 9. Anything more must be obtained from RFCs, of which there are numerous references. Thanks for the enjoyable reading.
By Charles Shepard - Consultant / California e-Business Solutions
Comments about oreilly DNS and BIND, 4th Edition:
Very difficult to read. I have experience in several high and low level languages, but this book was hard to follow. Microsoft recommends this book in their NT 4 server-TCP/ip accelerated course. The course in no way prepares you for this book. Unless you are a Unix pro, this book will give you a headache. I suggest looking else where for DNS info.
Not for the feint hearted. A book for the hardcore IT professional. Especially useful for designing and implementing diverse ISP and Internetwork oriented solutions. I specialise in Disaster Recovery solutions and projects requiring a high degree of security (Government and Banking solutions). I have found this book invaluable for utilising the flexible nature of 'Name Resolution' to extract and tweak the most out of the indeterminate nature of the Internet.
I found this book, along with all the others on DNS and the Linux Documentation Project's docs, all disappointing.
In this book, the authors leave you guessing in a number of areas. This is a book for experts, so if you don't have any experience with DNS and Bind, forget it. Hire a consultant or go to university and start at the beginning.
In chapter 3, "Where Do I Start?" it gives some fairly shallow information on setting up zone files. Like I said, this is obviously a book for experts. It leaves you to guess in anumber of areas.
I couldn't even finish writing the zone files properly as covered in chapter 3. And when I did, following the instructions to the letter (of which there weren't many - I had to guess) I got errors all over the place.
All I was looking for was the basics. How to setup nameservers so I could have ns0.myname.com and ns1.myname.com and tell my hosting customers who host their domains on my machines to alter the DNS records of their domain to point to my nameservers, and how to setup www.myname.com as an alias for the domain or whatever. And how to add other domains, so I can host websites for others on my dedicated server.
I am sorely disappointed I spent money I couldn't afford to spend anyway, but had to. There's just nowhere else to turn.
I am wishing hard for "DNS and BIND for Dummies" written in clear, plain English, and which doesn't leave you guessing.
The information in this book is scant and for DNS/Bind experts only.
Owner/Operator of a very small web hosting company
I've had my trusty 1st edition for quite a while but am disappointed that the new edition doesn't even mention "djbdns", at least I didn't find it in the index.
I'm not here to bash BIND -- I've deployed it at a number of .gov, .com, and ISP sites -- but the book is called _DNS & BIND_ and IMHO should at least mention other implementations of domain name servers.
I have found that as I start using the djbdns suite of tools, there is a different philosophy and approach at work and this frequently leads to insights on DNS rather than the _de facto_ BIND view. Equating the global DNS with a single implementation leads to monoculture; alternate implementations of Internet standards are important. They should be at least mentioned in an edition as recent as this.