DNS query types and response types

Types of DNS Query

The client asks the DNS server configured in its TCP/IP protocol, “What is the IP address of www.microsoft.com.?”, the server returns the corresponding IP address number and thus the connection is created.

  • Interactive query – this type of distributed query is not automatic and happens when your direct DNS is not able to resolve a given name and thus returns addresses of servers that can resolve it.
  • recursive query – the distributed query is automatic, it occurs when the direct DNS server manages to resolve the name and returns this resolution to the client that requested it.

This query is initiated by the DNS server to find a name if it cannot resolve it using local zone information or cached information. In this step, the DNS server will query other servers to respond to the client's request.

Tipos de consulta e tipo de respostas de um DNS
DNS query types and response types

Types of Answers

  • Authoritative Answer – when it is resolved by the DNS server, which is authoritative for the queried domain, as in the example mentioned above, in which the user is trying to access “servidor.aula15.local” through the server that hosts the direct zone “aula15.local” .
  • Positive Answer – contains the correct answer for a searched name.
  • Referral Answer – does not contain the answer, but rather a reference from which the answer can be searched. It will be returned to the client if the local DNS server does not have recursion enabled. In this case, the client searches the servers that are being passed to it as a reference.
  • Negative Answer – here are two possibilities for such an answer. First, the server reported that the searched name does not exist in the Namespace. Second, the searched name even exists, but the record is incorrect.

 1,259 Total Visualizações,  19 Visualizações Hoje

One comment

  1. I already got an answer to my question.
    A non-authoritative response means that the DNS request was answered by a server that is not the “owner” of the domain, that is, it is not the server configured as authoritative for that domain. Probably the answer is from some other server's cache.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.