2.1.2 DNS Facts

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

When a DNS server receives a name resoultion request from a client, the following process is used

1. The DNS server examines it local DNS cache for the IP address. Note: the DNS server cache is not the same as the client cache. A Windows 2008 server has a DNS client cache, but this cache is not used to respond to client requests. 2. If the IP address is not in the server cache, it checks its HOSTS file. 3. If the information is not in the HOSTS file, the server checks any zones for which it is authoritative. An authoritative server is a DNS server that has a full, complete copy of all the records for a particular zone. 4. If the server does not host the zones for the requested information, it sues one of the following processes: • If configured for forwarding, the DNS server forwards the name resolution request to another DNS server. The DNS server waits for a response from the other DNS server. • If configured for recursion (also called referral), the DNS server queries root domain servers, top-level domain servers, and other DNS servers in an iterative manner until it finds the DNS server that hosts the target domain. - For example, to resolve the host name www.microsoft.com: 1. The server queries a root server for the .com server 2. It then queries the .com server for the microsoft.com server. 3. It then queries the microsoft.com DNS server for the www host information. 5. After the information is found or received from another sever, the DNS server returns the results to the client, and places the information in its server cache.

When a client computer needs to find the IP address for a host name, the following process is used

1. The client examines its HOSTS file for IP address. 2. If the IP address is not in the HOSTS file, it examines it local DNS cache for the IP address. 3. If the IP address is not in the cache, the client sends the request to a DNS server.

Caching-only DNS

A caching-only DNS server has no zone information; it is not authoritative for any domains. It uses information in its sever cache, or forwarding or recursion, to respond to client queries.

Forward lookup

A forward lookup uses the host name (or the FQDN) to find IP address.

FQDN

A fully qualified domain name (FQDN) includes the host name and the name of all domains back to root.

Reverse Lookup

A reverse lookup uses the IP address to find the host name (or FQDN).

Records

Records in the DNS database are created manually, or dynamically using Dynamic DNS (DDNS). With DDNS, hosts automatically register and update their corresponding records with the DNS server.

DNS

The Domain Name System (DNS) is a hierarchial, distributed database that maps logical host names to IP addresses. With DNS, users reference computers using logical hostnames, and those hostnames are translated to IP addresses using DNS. A DNS server is responsible for performing this service on a TCP/IP network.

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

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. • Prior to using DNS server, name resolution used a static file, called the HOSTS file, saved on each host computer. The HOSTS file is still used, but is typically only used in the absence of a DNS server.

DNS is a distributed database because 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. • DNS servers hold zone files and process name resolution requests from client system.

Entries for hostnames, IP addresses, and other information in the zone database are stored in records.

• The A record maps a host name to an IP address and is used for forward lookups. • The PTR record maps an IP address to a host name and is used for reverse lookups. • The CNAME record provides an alternate name (an alias) for a host. • The SRV record identifies a service, such as an Active Directory domain controller.


Ensembles d'études connexes

email- advantages and disadvantages

View Set

Acid Base Balance and Cognition (H&I Exam 2)

View Set

BADM1001 MOD 2 ECONOMIC ENVIRONMENT STUDY SET

View Set

Sadlier Vocab Level G Unit 3 - Completing the Sentence

View Set