Up: DNS and BIND Primer
Previous: Answer Types
- The resolver (dns client) sends a DNS query to the first name server listed in the resolv.conf file (Linux/Unix).
If there is no response in n seconds (see chart page , try next server in resolv.conf. . .
- If the name server is authoritative or has a cached answer it answers the query directly.
- If the name server can not resolve the query, it sends a query to a root name server which is authoritative for or knows of authoritative servers for all top level domains.
- The root server answers with a referral to the name of the top level domain server for the requested domain or possibly the next second-level domain name server.
- The local name server then queries the name server it received from the last query and the process continues until the final answer is received. The answer is sent back to the client.