Log In
Or create an account -> 
Imperial Library
  • Home
  • About
  • News
  • Upload
  • Forum
  • Help
  • Login/SignUp

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

Chief Librarian: Las Zenow <zenow@riseup.net>
Fork the source code from gitlab
.

This is a mirror of the Tor onion service:
http://kx5thpx2olielkihfyo4jgjqfb7zx7wxr3sd4xzt26ochei4m6f7tayd.onion