Arrange the following steps in a proper sequence for the typical process of a DNS query : (A) Query authoritative DNS Server (B) Query local DNS Server (C) Local DNS Server Check Cache (D) Query root DNS Server (E) Query TLD DNS Server Choose the correct answer from the options given below :
(B), (C), (D), (E), (A)
Domain names are resolved through a hierarchy of name servers. The host asks its local (recursive) resolver, which answers from its cache or walks the hierarchy from the root down (Kurose and Ross).
Step 1 — Query local DNS Server (B): the host sends the name, e.g. www.example.com, to its configured resolver.
Step 2 — Local DNS Server checks its cache (C): if a valid cached record exists, it replies immediately.
Step 3 — Query root DNS Server (D): on a cache miss, the root returns the servers for the .com top-level domain.
Step 4 — Query TLD DNS Server (E): the .com server returns the authoritative servers for example.com.
Step 5 — Query authoritative DNS Server (A): it returns the IP address, which the local server caches and passes to the host.
Sequences beginning with the authoritative or TLD server skip the local resolver and the root referral, and querying the local server only after the root reverses the hierarchy.
(B), (C), (D), (E), (A) option is correct.
A restarted host requests an uncached web page by hostname using HTTP/1.1 over TCP. Assume no cached or locally configured address for that hostname, no existing server connection, and a successful DNS lookup. What is the relative order of the following three transmissions: the DNS query, the TCP SYN to the web server, and the HTTP GET request?