Skip to content

DNS and BIND Cookbook Solutions and Examples for System Administrators

Best in textbook rentals since 2012!

ISBN-10: 0596004109

ISBN-13: 9780596004101

Edition: 2003

Authors: Cricket Liu

List price: $39.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Description:

The "DNS & BIND Cookbook presents solutions to the many problems faced by network administrators responsible for a name server. Following O'Reilly's popular problem-and-solution cookbook format, this title is an indispensable companion to "DNS & BIND, 4th Edition, the definitive guide to the critical task of name server administration. The cookbook contains dozens of code recipes showing solutions to everyday problems, ranging from simple questions, like, "How do I get BIND?" to more advanced topics like providing name service for IPv6 addresses. It's full of BIND configuration files that you can adapt to your sites requirements. With the wide range of recipes in this book, you'll be able…    
Customers also bought

Book details

List price: $39.99
Copyright year: 2003
Publisher: O'Reilly Media, Incorporated
Publication date: 10/29/2002
Binding: Paperback
Pages: 240
Size: 6.97" wide x 9.13" long x 1.02" tall
Weight: 0.836

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 hostmaster@hp.com 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…    

Preface
Getting Started
Finding More Information About DNS and BIND
Asking Questions You Can't Find Answers To
Getting a List of Top-Level Domains
Checking Whether a Domain Name Is Registered
Registering a Domain Name
Registering Name Servers
Registering a Reverse-Mapping Domain
Transferring Your Domain Name to Another Registrar
Choosing a Version of BIND
Finding Out Which Version of BIND You're Running
Getting BIND
Building and Installing BIND
Getting a Precompiled Version of BIND
Creating a named.conf File
Configuring a Name Server as the Primary Master for a Zone
Configuring a Name Server as a Slave for a Zone
Configuring a Name Server as Authoritative for Multiple Zones
Starting a Name Server
Stopping a Name Server
Starting named at Boot Time
Zone Data
Creating a Zone Data File
Adding a Host
Adding an Alias
Adding a Mail Destination
Making the Domain Name of Your Zone Point to Your Web Server
Pointing a Domain Name to a Particular URL
Setting Up Round Robin Load Distribution
Adding a Domain Name in a Subdomain Without Creating a New Zone
Preventing Remote Name Servers from Caching a Resource Record
Adding a Multihomed Host
Updating a Name Server's Root Hints File
Using a Single Data File for Multiple Zones
Using Multiple Data Files for a Single Zone
Resetting Your Zone's Serial Number
Making Manual Changes to a Dynamically Updated Zone
Moving a Host
Mapping Any Domain Name in a Zone to a Single IP Address
Adding Similar Records
Making Your Services Easy to Find
Storing the Location of a Host in DNS
Filtering a Host Table into Zone Data Files
BIND Name Server Configuration
Configuring a Name Server to Work with ndc
Configuring a Name Server to Work with rndc
Using rndc with a Remote Name Server
Allowing "Illegal" Characters in Domain Names
Dividing a Large named.conf File into Multiple Files
Organizing Zone Data Files in Different Directories
Configuring a Name Server as Slave for All of Your Zones
Finding an Offsite Slave Name Server for Your Zone
Protecting a Slave Name Server from Abuse
Allowing Dynamic Updates
Configuring a Name Server to Forward Dynamic Updates
Notifying a Slave Name Server Not in a Zone's NS Records
Limiting NOTIFY Messages
Configuring a Name Server to Forward Queries to Another Name Server
Configuring a Name Server to Forward Some Queries to Other Name Servers
Configuring a Name Server Not to Forward Certain Queries
Returning Different Answers to Different Queriers
Determining the Order in Which a Name Server Returns Answers
Setting Up a Slave Name Server for a Zone in Multiple Views
Disabling Caching
Limiting the Memory a Name Server Uses
Configuring IXFR
Limiting the Size of the IXFR Log File
Configuring a Name Server to Listen Only on Certain Network Interfaces
Running a Name Server on an Alternate Port
Setting Up a Root Name Server
Returning a Default Record
Configuring DNS to Let Clients Find the Closest Server
Handling Dialup Connections
Electronic Mail
Configuring a Backup Mail Server in DNS
Configuring Multiple Mail Servers in DNS
Configuring Mail to Go to One Server and the Web to Another
Configuring DNS for "Virtual" Email Addresses
Configuring DNS So a Mail Server and the Email It Sends Pass Anti-Spam Tests
BIND Name Server Operations
Figuring Out How Much Memory a Name Server Will Need
Testing a Name Server's Configuration
Viewing a Name Server's Cache
Flushing (Clearing) a Name Server's Cache
Modifying Zone Data Without Restarting the Name Server
Adding or Removing Zones Without Restarting or Reloading the Name Server
Initiating a Zone Transfer
Restarting a Name Server Automatically If It Dies
Restarting a Name Server with the Same Arguments
Controlling Multiple named Processes with rndc
Controlling Multiple named Processes with ndc
Finding Out Who's Querying a Name Server
Measuring a Name Server's Performance
Measuring Queries for Records in Particular Zones
Monitoring a Name Server
Limiting Concurrent Zone Transfers
Limiting Concurrent TCP Clients
Limiting Concurrent Recursive Clients
Dynamically Updating a Zone
Sending Dynamic Updates to a Particular Name Server
Setting Prerequisites in a Dynamic Update
Sending TSIG-Signed Dynamic Updates
Setting Up a Backup Primary Master Name Server
Promoting a Slave Name Server to the Primary Master
Running Multiple Primary Master Name Servers for the Same Zone
Creating a Zone Programmatically
Migrating from One Domain Name to Another
Delegation and Registration
Delegating a Subdomain
Delegating a Subdomain of a Reverse-Mapping Zone
Delegating Reverse-Mapping for Networks with Non-Octet Masks
Delegating Reverse-Mapping for Networks Smaller than a /24
Checking Delegation
Moving a Name Server
Changing Your Zone's Name Servers
Security
Concealing a Name Server's Version
Configuring a Name Server to Work with a Firewall (or Vice Versa)
Setting Up a Hidden Primary Master Name Server
Setting Up a Stealth Slave Name Server
Configuring an Authoritative-Only Name Server
Configuring a Caching-Only Name Server
Running a Name Server in a chroot() Jail
Running the Name Server as a User Other than Root
Defining a TSIG Key
Securing Zone Transfers
Restricting the Queries a Name Server Answers
Preventing a Name Server from Querying a Particular Remote Name Server
Preventing a Name Server from Responding to DNS Traffic from Certain Networks
Protecting a Name Server from Spoofing
Interoperability and Upgrading
Upgrading from BIND 4 to BIND 8 or 9
Upgrading from BIND 8 to BIND 9
Configuring a Name Server to Accommodate a Slave Running BIND 4
Configuring a BIND Name Server to Accommodate a Slave Running the Microsoft DNS Server
Configuring a BIND Name Server as a Slave to a Microsoft DNS Server
Preventing Windows Computers from Trying to Update Your Zones
Handling Windows Registration with a BIND Name Server
Handling Active Directory with a Name Server
Configuring a DHCP Server to Update a BIND Name Server
Resolvers and Programming
Configuring a Resolver to Query a Remote Name Server
Configuring a Resolver to Resolve Single-Label Domain Names
Configuring a Resolver to Append Multiple Domain Names to Arguments
Sorting Multiple Addresses in a Response
Changing the Resolver's Timeout
Configuring the Order in Which a Resolver Uses DNS,/etc/hosts, and NIS
Looking Up Records Programmatically
Transferring a Zone Programmatically
Updating a Zone Programmatically
Signing Queries and Dynamic Updates with TSIG Programmatically
Logging and Troubleshooting
Finding a Syntax Error in a named.conf File
Finding a Syntax Error in a Zone Data File
Sending Log Messages to a Particular File
Discarding a Category of Messages
Determining Which Category a Message Is In
Sending syslog Output to Another Host
Logging Dynamic Updates
Rotating Log Files
Looking Up Records with dig
Reverse-Mapping an Address with dig
Transferring a Zone Using dig
Tracing Name Resolution Using dig
IPv6
Configuring a Name Server to Listen for Queries on an IPv6 Interface
Configuring a Name Server to Send Queries from a Particular IPv6 Address
Adding a Host with an IPv6 Interface
Configuring rndc to Work Over IPv6
Index