A client workstation with an empty local DNS cache needs to access an internal corporate host at host.finance.example.com. The workstation sends a DNS query to its configured recursive DNS server, which subsequently performs iterative lookups to resolve the fully qualified domain name (FQDN). In what order do the steps of this DNS name resolution process occur from initial request to final IP resolution?
- 1The client stub resolver sends a recursive query for host.finance.example.com to the local recursive DNS server.
- 2The local recursive DNS server queries a Root Name Server and receives a referral to the .com Top-Level Domain (TLD) name servers.
- 3The local recursive DNS server queries the .com TLD name server and receives a referral to the authoritative name server for example.com.
- 4The local recursive DNS server queries the authoritative name server for example.com requesting the A record for host.finance.example.com.
- 5The authoritative name server responds with the requested IP address, which the local recursive DNS server caches and returns to the client stub resolver.
Cevap
The correct sequence starts with the client issuing a recursive DNS query to the local DNS server, followed by iterative queries from the local server to a Root Name Server, the .com TLD Name Server, and the authoritative example.com Name Server, concluding with the authoritative server returning the IP address to the local server, which caches and forwards it to the client.
The DNS resolution sequence follows a top-down hierarchical flow when resolving an uncached hostname: 1) The client stub resolver sends a recursive query to the configured local resolver. 2) The local resolver queries a Root Name Server to find the appropriate TLD server (.com). 3) The local resolver queries the .com TLD server to find the authoritative server for example.com. 4) The local resolver queries the authoritative server for host.finance.example.com. 5) The authoritative server returns the IP address answer to the local resolver, which caches the result and returns it to the client stub resolver.
Adım Adım Çözüm
Anahtar Kavram
DNS Recursive vs. Iterative Resolution Hierarchy