| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
DNS Message Processing and General Message Format (Page 3 of 3) Resource Record Sections: Answer, Authority and Additional The server is also responsible for filling in the other three sections of the message: Answer, Authority and Additional. These sections share the same basic format, each carrying one or more resource records that use a common record format. The number of records in each section is indicated using the count fields in the message header. The sections differ only in terms of the types of records they carry. Answer records are directly related to the question asked, while Authority records carry resource records that identify other name servers. Authority records are thus the means by which name servers are hierarchically linked when the server doesn't have the information the client requested. The Additional section exists for the specific purpose of improving DNS efficiency. There are cases where a server supplies an answer to a query that it has reason to believe will lead to a subsequent question that the server can also answer. For example, suppose a server provides the name of another name server in the Authority section (an NS resource record). The client may not have the address for that server, which would mean it has to perform an extra name resolution to contact the referenced server. If the server providing the NS record already knows the IP address for this name server, it can include it in the Additional section. The same goes for a server providing an MX record as I explained in the topic on DNS mail support.
Home - Table Of Contents - Contact Us The TCP/IP Guide (http://www.TCPIPGuide.com) Version 3.0 - Version Date: September 20, 2005 © Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||