The Domain Name System (DNS) is a hierarchical, distributed database that maps logical hostnames to IP addresses. With DNS, users reference computers using logical hostnames, and those hostnames are translated to IP addresses using DNS. A DNS server performs this service on a TCP/IP network. You should know the following facts about DNS:
- A DNS server holds a database of hostnames and their corresponding IP addresses. Clients query the DNS server to get the IP address of a given host.
- The DNS hierarchy is made up of the following components:
- . (dot) domain (also called the root domain)
- Top Level Domains (TLDs) (.com, .edu, .gov)
- Second-level and additional domains
- Hosts
- A fully qualified domain name (FQDN) includes the hostname and the name of all domains back to root.
- DNS is a distributed database; no one server holds all of the DNS information. Instead, multiple servers hold portions of the data.
- Each division of the database is held in a zone database file.
- Zones typically contain one or more domains, although additional servers might hold information for child domains.
Be familiar with the following DNS terms:
Term | Definition |
Forward lookup | A forward lookup uses the hostname (or the FQDN) to find the IP address. |
Reverse lookup | A reverse lookup uses the IP address to find the host name (or FQDN). |
Authoritative server | An authoritative server is a DNS server that has a full, complete copy of all the records for a particular zone. |
Referral | Referral is the process by which DNS servers use one another to resolve requests from their specific clients. Because each DNS server is responsible for a small piece of the DNS namespace, the servers contact one another when they cannot resolve queries from their own clients. For example, a root DNS server refers DNS servers to .com, .edu, or .gov DNS servers. |
Recursion | 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. Many DNS servers will perform recursion. |
Iterative | Iterative is the process by which a DNS server requests information from other DNS servers and maintains responsibility for resolution. |
Delegation | Delegation is the process by which a DNS server hands responsibility for the request to another DNS server. |
You should be familiar with the DNS name resolution process that occurs on the client and on the server:
Location | Process |
Client | The process for DNS name resolution on the client is:
|
Server | The process for DNS name resolution on the server is:
|
Keep in mind the following facts regarding root hints and the root zone.
- The root zone is at the top of the DNS hierarchy, and is named . (dot).
- The root servers delegate portions of the DNS database to servers below them. Delegation continues downward until the IP address of the host is found.
- If you have a root zone configured on a DNS server, the server will act as a root zone server.
- A DNS server configured as a root zone server will never use the root hints. It considers itself authoritative. Consequently, the server won’t access the Internet to forward DNS queries.
- If you want the DNS server to access the Internet, delete the root zone in the DNS console.
- You can configure root hints through the properties of a DNS server.