DNS in Action
eBook: $17.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 50%!
Print + free eBook + free PacktLib access to the book: $47.98    Print cover: $29.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Technically detailed with practical solutions
  • Comprehensive guide to configuration and administration of DNS servers
  • Covers DNS Extensions, delegation, and registration

Book Details

Language : English
Paperback : 196 pages [ 235mm x 191mm ]
Release Date : April 2006
ISBN : 1904811787
ISBN 13 : 9781904811787
Author(s) : Alena Kabelová, Libor Dostálek
Topics and Technologies : All Books, Networking and Servers, Architecture & Analysis, Networking & Telephony

Table of Contents

Chapter 1: Domain Name System
Chapter 2: DNS Protocol
Chapter 3: DNS Extension
Chapter 4: Name Server Implementation
Chapter 5: Tools for DNS Debugging and Administration
Chapter 6: Domain Delegation and Registration
Chapter 7: Reverse Domain Delegation
Chapter 8: Internet Registry
Chapter 9: DNS in Closed Intranets
Chapter 10: DNS and Firewall
Appendix A: Country Codes and RIRs
  • Chapter 1: Domain Name System
    • 1.1 Domains and Subdomains
    • 1.2 Name Syntax
    • 1.3 Reverse Domains
    • 1.4 Domain 0.0.127.in-addr.arpa
    • 1.5 Zone
      • 1.5.1 Special Zones
    • 1.6 Reserved Domains and Pseudodomains
    • 1.7 Queries (Translations)
      • 1.7.1 Round Robin
    • 1.8 Resolvers
      • 1.8.1 Resolver Configuration in UNIX
      • 1.8.2 Resolver Configuration in Windows
    • 1.9 Name Server
    • 1.10 Forwarder Servers
  • Chapter 2: DNS Protocol
    • 2.1 Resource Records
    • 2.2 DNS Protocol
    • 2.3 DNS Query
      • 2.3.1 DNS Query Packet Format
      • 2.3.2 DNS Query Packet Header
      • 2.3.3 Question Section
      • 2.3.4 The Answer Section, Authoritative Servers, and Additional Information
      • 2.3.5 Compression
      • 2.3.6 Inverse Query
      • 2.3.7 Methods of RR Transfer via a DNS Packet
      • 2.3.8 Communication Examples
  • Chapter 3: DNS Extension
    • 3.1 DNS Update
      • 3.1.1 Header Section
      • 3.1.2 Zone Section
      • 3.1.3 Prerequisite Section
      • 3.1.4 Update Section
      • 3.1.5 Additional Data Section
      • 3.1.6 Journal File
      • 3.1.7 Notes
    • 3.2 DNS Notify
      • 3.2.1 Notify Message
    • 3.3 Incremental Zone Transfer
      • 3.3.1 Request Format
      • 3.3.2 Reply Format
      • 3.3.3 Purging
      • 3.3.4 Examples from RFC 1995
    • 3.4 Negative Caching (DNS NCACHE)
      • 3.4.1 How Long are Negative Answers Stored in Memory?
      • 3.4.2 The MINIMUM Field in an SOA Record
      • 3.4.3 Saving Negative Reply Rules
    • 3.5 DNS IP version 6 Extension
      • 3.5.1 AAAA Records
      • 3.5.2 A6 Records
      • 3.5.3 Reverse Domains
      • 3.5.4 DNAME Records
    • 3.6 DNS Security Protocols
      • 3.6.1 DNSsec
      • 3.6.2 KEY Record
      • 3.6.3 SIG Record
      • 3.6.4 NXT Record
      • 3.6.5 Zone Signature
      • 3.6.6 Display Data
      • 3.6.7 DNS Protocol
    • 3.7 TSIG
      • 3.7.1 TKEY
    • 3.8 Saving Certificates to DNS
  • Chapter 4: Name Server Implementation
    • 4.1 DNS Database
    • 4.2 RR Format
      • 4.2.1 SOA Records
      • 4.2.2 A Records
      • 4.2.3 CNAME Records
      • 4.2.4 HINFO and TXT Records
      • 4.2.5 NS Records
      • 4.2.6 MX Records
      • 4.2.7 PTR Records
      • 4.2.8 SRV Records
      • 4.2.9 $ORIGIN
      • 4.2.10 $INCLUDE
      • 4.2.11 Asterisk (*) in a DNS Name
    • 4.3 Name Server Implementation in BIND
      • 4.3.1 named Program in BIND Version 4 System
      • 4.3.2 New Generation BIND
        • Configuration File
        • DNS Database
        • Lightweight Resolver
    • 4.4 Microsoft's Native Implementation of DNS in Windows 2000/2003
  • Chapter 5: Tools for DNS Debugging and Administration
    • 5.1 Tools for DNS Debugging
      • 5.1.1 Check Configuration Files
      • 5.1.2 named-checkconf Utility
      • 5.1.3 named-checkzone Utility
      • 5.1.4 nslookup Program
        • Debugging Mode
        • Debug Debugging Level
        • d2 Debugging Level
      • 5.1.5 Other Programs Used for Debugging DNS
        • The dnswalk Program
        • The dig Program
    • 5.2 The rndc Program
      • 5.2.1 Signals
        • HUP Signal
        • INT Signal
        • IOT Signal
        • TERM Signal
        • KILL Signal
        • USR1 and USR2 Signals
    • 5.3 Errors in DNS Configuration
  • Chapter 6: Domain Delegation and Registration
    • 6.1 Example 1
      • 6.1.1 Server ns.company.tld
      • 6.1.2 Server ns.provider.net
      • 6.1.3 Server ns.manager-tld.tld
    • 6.2 Example 2
      • 6.2.1 Server ns.company.com
      • 6.2.2 Server ns.branch.company.tld
    • 6.3 Domain Registration
  • Chapter 8: Internet Registry
    • 8.1 International Organizations
    • 8.2 Regional Internet Registry (RIR)
    • 8.3 IP Addresses and AS Numbers
    • 8.4 Internet Registry
      • 8.4.1 Registration of a Local IR
    • 8.5 Delegation of Second-Level Domains
  • Chapter 9: DNS in Closed Intranets
    • 9.1 Configuring a Root Name Server on the Same Server (BIND v4)
    • 9.2 Configuring a Root Name Server on a Separate Server (BIND v4)
      • 9.2.1 Configuring a Name Server for the Root Domain
      • 9.2.2 Configuring Name Servers for company.com
    • 9.3 Root DNS Server in Windows 2000/2003
  • Chapter 10: DNS and Firewall
    • 10.1 Shared DNS for Internet and Intranet
      • 10.1.1 The Whole Internet is Translated on the Intranet
      • 10.1.2 Only Intranet Addresses are Translated on Intranet
    • 10.2 Name Server Installed on Firewall
      • 10.2.1 Translation in Intranet—Whole Internet
      • 10.2.2 Translation in Intranet without Internet Translation
    • 10.3 Dual DNS
    • 10.4 End Remarks

Alena Kabelová

Alena Kabelová was born in 1964 in Budweis, Europe. She graduated in ICT at the Economical University in Prague. She worked together with Libor Dostálek as a hostmaster. She is mostly involved in development and schooling of software. At present, she works as a senior project manager at the PVT and focuses mainly on electronic banking. Her experiences as the hostmaster of an important European ISP are applied in this publication.

Libor Dostálek

Libor Dostálek was born in 1957 in Prague, Europe. He graduated in mathematics at the Charles University in Prague. Since last 20 years he has been involved in ICT architecture and security. His experiences as the IT architect and the hostmaster of one of the first European Internet Service Providers have been used while writing this publication. Later he became an IT architect of one of the first home banking applications fully based on the PKI architecture, and also an IT architect of one of the first GSM banking applications (mobile banking). As a head consultant, he designed the architecture of several European public certification service providers (certification authorities) and also many e-commerce and e-banking applications. The public knows him either as an author of many publications about TCP/IP and security or as a teacher. He taught at various schools as well as held various commercial courses. At present, he lectures on Cryptology at the Charles University in Prague. Nowadays, he is an employee of Siemens.

Sorry, we don't have any reviews for this title yet.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

DNS in Action +    SQL Server Analysis Services 2012 Cube Development Cookbook =
50% Off
the second eBook
Price for both: $39.60

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

This book covers all the basic as well as advanced uses of DNS:

Chapter 1 introduces basic DNS concepts, such as domains and subdomains, domain naming syntax,  reverse domains, zones, queries, resolvers, name servers, forwarder servers.

Chapter 2 explains the DNS protocol, focusing on DNS query. The chapter makes use of several examples of DNS client-server communication. Including an example of a non-existent RR query and its answer, communication with a root server, and TCP and UDP DNS queries.

Chapter 3 describes extension to the DNS protocol, including DNS Update, DNS Notify, Incremental Zone Transfer, Negative caching, DNS IPv6 Extension, DNSsec, and TSIG.

Chapter 4 discusses name server implementations, focusing on Bind, versions 4, 8, and 9. The use and configuration of the program named is explained in detail. The chapter also discusses the Windows 2000 implementation.

Chapter 5 covers DNS tuning and administration and tools, such as named-checkconf, named-checkzone, nslookup, dnswalk, dig, and rndc.

Chapter 6 focuses on DNS delegation from a primary to secondary servers. The process of domain registration is also explained in the chapter.

Chapter 7 talks about the delegation and registration of reverse domains.

The internet registry is the subject of Chapter 8. It covers the regional internet registry, division of the world between RIR and country codes, and RIPE database and its various objects.

Chapter 9 shows how to configure DNS servers in closed intranets, i.e. networks that are not connected to the internet. It covers configuring a root name server on a separate server (BIND 4) and configuring a name server for the root domain.

Chapter 10 covers sharing a DNS database between the Internet and intranet, as well as having separate servers. It also discusses installing name servers on firewalls.

In Detail

The Domain Name System is one of the foundations of the internet. It is the system that allows the translation of human-readable domain names into machines-readable IP addresses and the reverse translation of IP addresses into domain names. This book describes the basic DNS protocol and its extensions; DNS delegation and registration, including for reverse domains; using DNS servers in networks that are not connected to the internet; and using DNS servers on firewall machines. Many detailed examples are used throughout the book to show perform various configuration and administration tasks.

This is a detailed guide to the Domain Name System, its implementation, configuration, and administration. It covers the basics as well as the more advanced features and uses of DNS.


Who this book is for

This book is for system administrators and network architects who need to learn how to run and configure DNS servers. A working knowledge of TCP/IP protocols is presumed.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software