O'Reilly logo

Understanding TCP/IP by Libor Dostálek, Alena Kabelová

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

11.6.1 DNS Query Packet Format

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

11.6.1 DNS Query Packet Format

Figure 11.4: 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required