Book description
Pro DNS and BIND 10 guides you through the challenging array of features surrounding DNS with a special focus on the latest release of BIND, the world's most popular DNS implementation. This book unravels the mysteries of DNS, offering insight into origins, evolution, and key concepts like domain names and zone files. This book focuses on running DNS systems based on BIND 10, the first stable release that includes support for the latest DNSSEC standards.
Whether you administer a DNS system, are thinking about running one, or you simply want to understand the DNS system, then this book for you. Pro DNS and BIND 10 starts with simple concepts, then moves on to full security-aware DNSSEC configurations. Various features, parameters, and Resource Records are described and illustrated with examples.
The book contains a complete reference to zone files, Resource Records, and BIND's configuration file parameters. You can treat the book as a simple paint-by-numbers guide to everything from a simple caching DNS to the most complex secure DNS (DNSSEC) implementation. Background information is included for when you need to know what to do and why you have to do it, and so that you can modify processes to meet your unique needs.
Table of contents
- Copyright
- About the Author
- About the Technical Reviewer
- Acknowledgments
-
Introduction
- Introduction to the Second Edition
- Who This Book Is For
-
How This Book Is Structured
- Chapter 1, "An Introduction to DNS"
- Chapter 2, "Zone Files and Resource Records"
- Chapter 3, "DNS Operations"
- Chapter 4, "DNS Types"
- Chapter 5, "DNS and IPv6"
- Chapter 6, "Installing BIND"
- Chapter 7, "BIND Type Samples"
- Chapter 8, "DNS Techniques"
- Chapter 9, "DNS Diagnostics and Tools"
- Chapter 10, "DNS Secure Configurations"
- Chapter 11, "DNSSEC"
- Chapter 12, "BIND Configuration Reference"
- Chapter 13, "Zone File Reference"
- Chapter 14, "BIND APIs and Resolver Libraries"
- Chapter 15, "DNS Messages and Records"
- Appendix A, "Domain Name Registration"
- Appendix B, "DNS RFCs"
- Additional Material
- Conventions
- Contacting the Author
-
I. Principles and Overview
- 1. An Introduction to DNS
-
2. Zone Files and Resource Records
- 2.1. Zone File Format
- 2.2. Zone File Contents
- 2.3. An Example Zone File
- 2.4. The $TTL Directive
- 2.5. The $ORIGIN Directive
- 2.6. The SOA Resource Record
- 2.7. The NS Resource Record
- 2.8. The MX Resource Record
- 2.9. The A Resource Record
- 2.10. CNAME Resource Record
- 2.11. Additional Resource Records
- 2.12. Standard Configuration File Scenarios
- 2.13. Summary
- 3. DNS Operations
- 4. DNS Types
- 5. DNS and IPv6
-
II. Get Something Running
- 6. Installing BIND
-
7. BIND Type Samples
- 7.1. Before You Start
- 7.2. Master DNS Server
- 7.3. Slave DNS Server
- 7.4. Resolver (Caching-only) DNS Server
- 7.5. Forwarding (a.k.a. Proxy, Client, Remote) DNS Server
- 7.6. Stealth (a.k.a. Split or DMZ) DNS Server
- 7.7. Authoritative-only DNS Server
- 7.8. View-based Authoritative-only DNS Server
- 7.9. Summary
-
8. DNS Techniques
- 8.1. Delegate a Subdomain (Subzone)
- 8.2. Virtual Subdomains
- 8.3. Configure Mail Servers Fail-Over
- 8.4. Delegate Reverse Subnet Maps
- 8.5. DNS Load Balancing
- 8.6. Define an SPF Record
- 8.7. Define a DKIM Record
- 8.8. Supporting http://example.com
- 8.9. Out-of-Sequence Serial Numbers
- 8.10. Use of Wildcards in Zone Files
- 8.11. Zone File Construction
- 8.12. Split Horizon DNS
- 8.13. DNSBL (DNS Blacklists)
- 8.14. DNS TTLs and Time Values
- 8.15. Summary
-
9. DNS Diagnostics and Tools
- 9.1. DNS Utilities
- 9.2. The nslookup Utility
- 9.3. BIND dig Utility
- 9.4. BIND named-compilezone Utility
- 9.5. BIND named-checkconf Utility
- 9.6. BIND named-checkzone/named-compilezone Utility
- 9.7. rndc
- 9.8. rndc-confgen Utility
- 9.9. BIND nsupdate Utility
- 9.10. dnssec-keygen Utility
- 9.11. dnssec-revoke Utility
- 9.12. dnssec-settime Utility
- 9.13. dnssec-signzone Utility
- 9.14. Diagnosing DNS Problems
- 9.15. Summary
-
III. DNS Security
-
10. DNS Secure Configurations
- 10.1. Security Overview and Audit
- 10.2. Administrative Security
- 10.3. A Cryptographic Overview
- 10.4. Securing Zone Transfers
- 10.5. Securing Dynamic Updates
- 10.6. Summary
-
11. DNSSEC
- 11.1. Base DNSSEC Theory
- 11.2. DNSSEC Base Examples
- 11.3. DNSSEC Enhancements
- 11.4. DNSSEC Lookaside Validation
- 11.5. DNSSEC Implementation
- 11.6. Summary
-
12. BIND 9 Configuration Reference
- 12.1. BIND Command Line
- 12.2. BIND Configuration Overview
-
12.3. BIND Clauses
- 12.3.1. BIND address_match_list Definition
- 12.3.2. BIND acl Clause
- 12.3.3. BIND controls Clause
- 12.3.4. BIND include Statement
- 12.3.5. BIND key Clause
- 12.3.6. BIND logging Clause
- 12.3.7. BIND lwres Clause
- 12.3.8. BIND managed-keys Clause
- 12.3.9. BIND masters Clause
- 12.3.10. BIND options Clause
- 12.3.11. BIND server Clause
- 12.3.12. BIND statistics-channels Clause
- 12.3.13. BIND trusted-keys Clause
- 12.3.14. BIND view Clause
- 12.3.15. BIND zone Clause
- 12.4. BIND Statements
- 12.5. BIND controls Statements
- 12.6. BIND logging Statements
- 12.7. BIND lwres Statements
-
12.8. BIND Transfer Statements
- 12.8.1. allow-notify
- 12.8.2. allow-transfer
- 12.8.3. allow-update-forwarding
- 12.8.4. also-notify
- 12.8.5. alt-transfer-source, alt-transfer-source-v6
- 12.8.6. ixfr-from-differences
- 12.8.7. max-journal-size
- 12.8.8. max-refresh-time, min-refresh-time
- 12.8.9. max-retry-time, min-retry-time
- 12.8.10. max-transfer-idle-in
- 12.8.11. max-transfer-idle-out
- 12.8.12. max-transfer-time-in
- 12.8.13. max-transfer-time-out
- 12.8.14. multi-master
- 12.8.15. notify
- 12.8.16. notify-delay
- 12.8.17. notify-source, notify-source-v6
- 12.8.18. notify-to-soa
- 12.8.19. provide-ixfr
- 12.8.20. request-ixfr
- 12.8.21. serial-query-rate
- 12.8.22. transfer-format
- 12.8.23. transfer-source, transfer-source-v6
- 12.8.24. transfers-in
- 12.8.25. transfers-per-ns
- 12.8.26. transfers-out
- 12.8.27. use-alt-transfer-source
-
12.9. BIND Operations Statements
- 12.9.1. avoid-v4-udp-ports, avoid-v6-udp-ports
- 12.9.2. check-names
- 12.9.3. check-dup-records, check-mx, check-wildcard
- 12.9.4. check-integrity, check-mx-cname, check-sibling, check-srv-cname
- 12.9.5. cleaning-interval
- 12.9.6. coresize
- 12.9.7. database
- 12.9.8. datasize
- 12.9.9. dialup
- 12.9.10. directory
- 12.9.11. disable-empty-zone, empty-contact, empty-server, empty-zones-enable
- 12.9.12. dual-stack-server
- 12.9.13. dump-file
- 12.9.14. files
- 12.9.15. flush-zones-on-shutdown
- 12.9.16. heartbeat-interval
- 12.9.17. hostname
- 12.9.18. interface-interval
- 12.9.19. journal
- 12.9.20. lame-ttl
- 12.9.21. listen-on
- 12.9.22. listen-on-v6
- 12.9.23. match-mapped-addresses
- 12.9.24. max-cache-size
- 12.9.25. max-cache-ttl
- 12.9.26. max-journal-size
- 12.9.27. max-ncache-ttl
- 12.9.28. memstatistics
- 12.9.29. memstatistics-file
- 12.9.30. pid-file
- 12.9.31. port
- 12.9.32. preferred-glue
- 12.9.33. querylog
- 12.9.34. recursing-file
- 12.9.35. request-nsid
- 12.9.36. reserved-sockets
- 12.9.37. server-id
- 12.9.38. stacksize
- 12.9.39. statistics-file
- 12.9.40. tcp-clients
- 12.9.41. tcp-listen-queue
- 12.9.42. try-tcp-refresh
- 12.9.43. version
- 12.9.44. zone-statistics
- 12.9.45. zero-nosoa-ttl, zero-no-soa-ttl-cache
- 12.10. BIND Performance Statements
-
12.11. BIND Query Statements
- 12.11.1. additional-from-auth, additional-from-cache
- 12.11.2. allow-query, allow-query-on
- 12.11.3. allow-query-cache, allow-query-cache-on
- 12.11.4. allow-recursion, allow-recursion-on
- 12.11.5. auth-nxdomain
- 12.11.6. blackhole
- 12.11.7. clients-per-query, max-clients-per-query
- 12.11.8. delegation-only
- 12.11.9. forward
- 12.11.10. forwarders
- 12.11.11. query-source, query-source-v6
- 12.11.12. recursion
- 12.11.13. recursive-clients
- 12.11.14. root-delegation-only
- 12.11.15. rrset-order
- 12.11.16. sortlist
-
12.12. BIND Security Statements
- 12.12.1. algorithm
- 12.12.2. allow-update
- 12.12.3. auto-dnssec
- 12.12.4. bindkeys-file
- 12.12.5. deny-answer-addresses, deny-answer-aliases
- 12.12.6. disable-algorithms
- 12.12.7. dnssec-accept-expired
- 12.12.8. dnssec-dnskey-kskonly
- 12.12.9. dnssec-enable
- 12.12.10. dnssec-lookaside
- 12.12.11. dnssec-must-be-secure
- 12.12.12. dnssec-secure-to-insecure
- 12.12.13. dnssec-validation
- 12.12.14. key-directory
- 12.12.15. managed-keys-directory
- 12.12.16. random-device
- 12.12.17. secret
- 12.12.18. secroots-file
- 12.12.19. session-keyfile, session-keyname, session-keyalg
- 12.12.20. sig-signing-nodes, sig-signing-signatures
- 12.12.21. sig-signing-type
- 12.12.22. sig-validity-interval
- 12.12.23. tkey-dhkey
- 12.12.24. tkey-domain
- 12.12.25. tkey-gssapi-credential
- 12.12.26. update-check-ksk
- 12.12.27. use-v4-udp-ports, use-v6-udp-ports
- 12.12.28. update-policy
- 12.13. BIND server Statements
- 12.14. BIND view Statements
- 12.15. BIND zone Statements
- 12.16. Summary
-
13. Zone File Reference
- 13.1. DNS Zone File Structure
- 13.2. DNS Directives
- 13.3. DNS Resource Records
-
13.4. Resource Record Descriptions
- 13.4.1. IPv4 Address (A) Record
- 13.4.2. Experimental IPv6 Address (A6) Record
- 13.4.3. IPv6 Address (AAAA) Record
- 13.4.4. AFS Database (AFSDB) Record
- 13.4.5. Address Prefix List (APL) Record
- 13.4.6. ATM Address (ATMA) Record
- 13.4.7. Certificate (CERT) Record
- 13.4.8. Canonical Name (CNAME) Record
- 13.4.9. Delegation of Reverse Names (DNAME) Record
- 13.4.10. DHCID Record
- 13.4.11. DLV Record
- 13.4.12. DNSKEY Record
- 13.4.13. Delegation Signer (DS) Record
- 13.4.14. System Information (HINFO) Record
- 13.4.15. Host Identity Protocol (HIP) Record
- 13.4.16. Integrated Services Digital Network (ISDN) Record
- 13.4.17. IPSEC Key (IPSECKEY) Record
- 13.4.18. Public Key (KEY) Record
- 13.4.19. Key Exchanger (KX) Record
- 13.4.20. Location (LOC) Record
- 13.4.21. Mailbox (MB) Record
- 13.4.22. Mail Group (MG) Record
- 13.4.23. Mailbox Renamed (MR) Record
- 13.4.24. Mailbox Mail List Information (MINFO) Record
- 13.4.25. Mail Exchange (MX) Record
- 13.4.26. Naming Authority Pointer (NAPTR) Record
- 13.4.27. Name Server (NS) Record
- 13.4.28. Network Service Access Point (NSAP) Record
- 13.4.29. Next Secure (NSEC) Record
- 13.4.30. Next Secure 3 (NSEC3) RR
- 13.4.31. Next Secure 3 Parameter (NECS3PARAM) RR
- 13.4.32. Pointer (PTR) Record
- 13.4.33. X.400 to RFC 822 E-mail (PX) Record
- 13.4.34. Responsible Person (RP) Record
- 13.4.35. Resource Record Signature (RRSIG) Record
- 13.4.36. Route Through (RT) Record
- 13.4.37. Signature (SIG) Record
- 13.4.38. Start of Authority (SOA) Record
- 13.4.39. Sender Policy Framework (SPF) Record
- 13.4.40. Services (SRV) Record
- 13.4.41. SSH Key Fingerprint (SSHFP) Record
- 13.4.42. Text (TXT) Record
- 13.4.43. Well-Known Service (WKS) Record
- 13.4.44. X.25 Address (X25) Record
- 13.4.45. Alternative Cryptographic Algorithms
- 13.5. User-Defined RRs
- 13.6. Summary
-
10. DNS Secure Configurations
-
IV. Programming
-
14. BIND APIs and Resolver Libraries
- 14.1. DNS Libraries and APIs
- 14.2. POSIX Library
- 14.3. BIND 9 DNS Libraries
- 14.4. BIND API Overview
- 14.5. The Simple Database API (sdb)
- 14.6. Summary
- 15. DNS Messages and Records
-
14. BIND APIs and Resolver Libraries
- V. Appendixes
Product information
- Title: Pro DNS and BIND 10
- Author(s):
- Release date: February 2011
- Publisher(s): Apress
- ISBN: 9781430230489
You might also like
book
Pro DNS and BIND
Pro DNS and BIND guides you through the challenging array of features surrounding DNS, with a …
book
DNS and BIND on IPv6
If you're preparing to roll out IPv6 on your network, this concise book provides the essentials …
book
DNS & BIND Cookbook
The DNS & BIND Cookbook presents solutions to the many problems faced by network administrators responsible …
book
Mastering Windows Security and Hardening
Enhance Windows security and protect your systems and servers from various cyber attacks Key Features Book …