or a successful response. Resolvers typically make recursive queries. With a recursive query, the DNS server must contact any other DNS servers it needs to resolve the request. When it receives a successful response from the other DNS Server(s), it then sends a response to the client. The recursive query is typical for a resolver querying a name server and for a name server querying its forwarder (another name server configured to handle requests forwarded to it).
When a DNS server processes a recursive query and a query can not be resolved from local zone files, the query must be escalated to a root DNS server. Each
An iterative query is one in which the name server is expected to provide the best information (also known as referral if the server is not authoritative for the name) based on what the server knows from local zone files or from caching. If a name server doesn’t have any information to answer the query, it simply sends a negative response. A
The following figure shows an example of both types of queries.
Name Server
1 8
Resolver
| 2 |
|
| "" | ||||
|
| 3 |
|
|
|
|
| Name Server |
| 4 |
|
|
|
|
|
| |
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
| gov | ||
|
|
|
|
|
| |||
|
| 5 |
|
|
|
|
| |
|
|
|
|
|
| Name Server | ||
| 6 |
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||
|
|
|
|
|
| whitehouse.gov | ||
|
|
|
|
|
| |||
| 7 |
|
|
|
|
| ||
|
|
|
|
|
| Name Server | ||
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| iterative queries |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
| recursive query |
|
|
|
|
|
|
|
| |
|
|
| client asks for IP | |||||
|
|
| address for | |||||
|
|
| www.whitehouse.gov |
gov
whitehouse
www
In the provided example the following queries are used to determine IP address for
Windows 2000 White Paper
9