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