Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
DNS in Action
DNS in Action

DNS in Action: A detailed and practical guide to DNS implementation, configuration, and administration

eBook
S$24.99 S$35.99
Paperback
S$44.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

DNS in Action

Chapter 2. DNS Protocol

2.1 Resource Records


Information on domain names and their IP addresses, as well as all the other information distributed via DNS is stored in the memory of name servers as Resource Records (RR).

A name server (also referred to as a DNS server) loads data into its cache in several ways. Authoritative data are read from files on a disk or obtained via a zone transfer query from another authoritative servers. Nonauthoritative data are obtained by the server from other servers as it answers of individual DNS queries. Do not forget for special kind of nonauthoritative data - information about root name servers which are loaded locally from disk file.

If a DNS client needs to obtain information from a DNS, it requests RR from the DNS according to its requirements, i.e., a client can request from a domain server an A type RR with the IP addresses of the particular domain name. A client can be a resolver or a name server that cannot resolve the query on its own.

The structure of RR is prescribed...

2.2 DNS Protocol


The DNS protocol works with several types of operations. The most commonly used operation is a DNS QUERY. It is a query that enables the obtaining of one or more records from the DNS database. The DNS QUERY operation was for a long time the only operation possible in the DNS system. New modifications to the DNS protocol have brought new kinds of operations, as DNS NOTIFY or DNS UPDATE. These will be dealt with in the next chapter.

The DNS protocol operates on a query/answer basis. A client sends a query to a server and the server answers it. DNS protocol uses name compression in order to make DNS packets as compact as possible.

The DNS protocol is an application-layer protocol and, as such, it does not carry out packet transfer on its own. The packet transfer is delegated to a transport protocol. Unlike the overwhelming majority of other application protocols, DNS protocol uses both UDP and TCP. Each query and the answer to it are transferred by the same transport protocol...

2.3 DNS Query


The DNS QUERY operation consists of a query and an answer. A query contains a request for an RR (or several RRs) from the DNS database. The answer either contains the particular RR or is a denial. The RR contained in an answer can be the ultimate answer or help the client to formulate another DNS QUERY to achieve the aim, i.e., to formulate another iteration.

2.3.1 DNS Query Packet Format

DNS query uses the same packet format for both queries and answers as shown in the following figure:

Figure 2.2: DNS Query packet format

A packet can consist of up to five sections. Each packet has to contain the HEADER section.

The term ‘query’ is used in two senses:

  1. 1. A DNS QUERY operation. A basic DNS protocol operation through which records (RR) are searched for in DNS databases. Several other operations will be discussed in the next chapter.

  2. 2. The DNS QUERY operation always consists of a query (sent by a client) and an answer to it sent to the client by the name server. The client is either...

Left arrow icon Right arrow icon

Key benefits

  • Technically detailed with practical solutions
  • Comprehensive guide to configuration and administration of DNS servers
  • Covers DNS Extensions, delegation, and registration

Description

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.

Who is this book 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.

What you will learn

  • 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.

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 05, 2006
Edition : 1st
Language : English
ISBN-13 : 9781847190635
Concepts :
Tools :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Apr 05, 2006
Edition : 1st
Language : English
ISBN-13 : 9781847190635
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$94.97 S$136.97 S$42.00 saved
Managing Mission - Critical Domains and DNS
S$66.99
Mastering Windows Group Policy
S$59.99
DNS in Action
S$44.99
Total S$94.97S$136.97 S$42.00 saved Stars icon
Banner background image

Table of Contents

10 Chapters
Domain Name System Chevron down icon Chevron up icon
DNS Protocol Chevron down icon Chevron up icon
DNS Extension Chevron down icon Chevron up icon
Name Server Implementation Chevron down icon Chevron up icon
Tools for DNS Debugging and Administration Chevron down icon Chevron up icon
Domain Delegation and Registration Chevron down icon Chevron up icon
Reverse Domain Delegation Chevron down icon Chevron up icon
Internet Registry Chevron down icon Chevron up icon
DNS in Closed Intranets Chevron down icon Chevron up icon
DNS and Firewall Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Half star icon Empty star icon Empty star icon 2.3
(3 Ratings)
5 star 33.3%
4 star 0%
3 star 0%
2 star 0%
1 star 66.7%
orlando a niño p Oct 02, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
excellent supplier recommended
Amazon Verified review Amazon
Geoff S. Jul 20, 2006
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
According to the title page of this book, it is an English translationof a Czech book (ISBN 80-722-6675-6) published in 2003, apparently froma manuscript completed in 2001 (based on the dates used in theexamples).The content has not been appreciably updated, if it's been updated atall. For example, in Section 3.5.1 and 3.5.2, the book discusses AAAAand A6 resource records, noting "The use of the AAAA record will notprevail in the future, though". However, the IETF moved the A6 recordto EXPERIMENTAL status in 2001 (!), effectively deprecating it in favorof AAAA. In fact, the book is dangerously out-of-date, as it has anextensive treatment of BIND 4 without anywhere noting that theISC -- the maintainer of BIND -- deprecated BIND 4 in 1997. (BIND 4 isnow widely regarded as unsafe for use in a production environment.)The woefully dated content isn't the only problem. The translationfrom Czech is sloppy, with many typographical errors and awkwardsentences. There are many artifacts from what was presumably initiallya machine translation. There are also quite a few minor inaccuracies,and negligible coverage of security issues (other than a section on anobsoleted version DNSSEC).In short, I cannot warn strongly enough against this book. It'sinadequate, even as a primer. I would recommend one of theseimmeasurably better books on DNS for anyone at any levelseeking to learn more about DNS:- Pro DNS and BIND, by Ron Aitchison (ISBN 1590594940)- DNS and BIND (5th Edition), by Cricket Liu and Paul Albitz (ISBN 0596100574)
Amazon Verified review Amazon
John Dickinson Jul 17, 2006
Full star icon Empty star icon Empty star icon Empty star icon Empty star icon 1
When I got this book I flicked to the section on DNSSEC in order to see how up to date this book is. I was horrified to see that the whole section is based on RFC 2535. This is now obsolete and has been replaced by RFC's 4033, 4034 and 4035. These new RFC's had been out for a year by the time this book was published.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.