You should be familiar with the DNS name resolution process:
- When a DNS name resolution request is forwarded to a DNS server, the DNS server examines its local DNS cache for the IP address.
- If the IP address is not in the DNS server's cache, it checks its Hosts file. (Since the Hosts file is a static text file, it is not commonly used.)
- If the DNS server is not authoritative and configured for forwarding, the DNS server forwards the request to a higher-level DNS server.
- The root DNS server responds with the address of a com, edu, net, or other DNS server type (depending on the request).
- The DNS server forwards the request to the high-level DNS server, which can respond with a variety of IP addresses.
You should know the following facts about DNS:
DNS translates a hostname to an IP address.
The DNS hierarchy is made up of the following components:
- . (dot) domain (also called the root domain)
- Top Level Domains (TLDs) (.com, .edu, .gov)
- Domains
- Hosts
- A fully qualified domain name (FQDN) must include the name of the host and the domain, not just the domain.
- A forward lookup uses the host name (or the FQDN) to find the IP address.
- A reverse lookup uses the IP address to find host name (or FQDN).
- A DNS server can forward a DNS request to an upstream DNS server if it cannot resolve a host name to an IP address.
- An authoritative server is a DNS server that has a full, complete copy of all the records for a particular domain.
- A caching only DNS server has no zone information; it is not authoritative for any domains.
- The Root Hints file (also called the Cache.DNS file) lists the 13 root DNS servers. A DNS server uses the Root Hints file to forward a request to a Root DNS server as a last resort to resolve a host name to an IP address.
- A Root DNS server refers DNS servers to .com or .edu or .gov level DNS servers.
- Recursion is the process by which a DNS server or host uses root name servers and subsequent servers to perform name resolution. Most client computers do not perform recursion, rather they submit a DNS request to the DNS server and wait for a complete response.
No comments:
Post a Comment