top of page

Windows DNS (Domain Name System) Server - Resource Record

Knowledge Base Questions & Answers


In which file are DNS resource records stored when the zone is not “AD (Active Directory) - Integrated”?

  • When a DNS zone is not “AD (Active Directory) - Integrated,” the DNS resource records are typically stored in a text-based zone file. This file usually has a .dns extension in Windows DNS servers.

  • The location of these zone files in Windows Server environments is typically in the %systemroot%\system32\dns\ directory. However, the location can vary depending on the server software, OS (Operating System), and specific configurations set by the administrator.

  • For example, a zone file for itguidespro.com might be named itguidespro.com.dns.


What is a “Host File”?

  • The name of the “Host File” is hosts.

  • “Host File” is a text file that maps a hostname to an IP (Internet Protocol) address.

  • It is located in the directory.
    \%systemroot%\system32\drivers\etc\

  • Example: hosts file with default data.

Experience-Based/Practical Questions & Answers
 

Where can you see “A” (Host), CNAME (Alias), MX (Mail Exchanger), NS (Name Server), and SOA (Start Of Authority) records information?
The path is as follows: “DNS Manager” MMC (Microsoft Management Console) snap-in -> DNS –> Server-Name –> “Forward Lookup Zones” -> Zone-Name.

  • For “A” record: “A” record -> Properties -> “Host (A)” tab.

  • For CNAME record: CNAME record -> Properties -> “Alias (CNAME)” tab.

  • For MX record: MX record -> Properties -> “Mail Exchanger (MX)” tab.

  • For NS records: NS record -> Properties -> “Name Servers” tab.

  • For SOA records: SOA record -> Properties -> “Start Of Authority (SOA)” tab.

Where can you see PTR (Pointer) records information?
The path is as follows: “DNS Manager” MMC snap-in -> DNS –> Server-Name –> “Reverse Lookup Zones” -> Zone-Name -> PTR record -> Properties.

Where can you see SRV (Service Location) records information?
The path is as follows: “DNS Manager” MMC snap-in -> DNS –> Server-Name –> “Forward Lookup Zones” -> Zone-Name -> _tcp folder -> SRV record -> Properties -> “Service Location (SRV)” tab.

Is it possible to set up TTL (Time-To-Live) values for individual records instead of using zone settings on the DNS server?
Yes. On record Properties -> TTL (Time-To-Live). The Advanced view must be enabled.

What DNS records are created when you install additional DC?

During the promotion of a server to DC (Domain Controller), the “A” and SRV resource records are dynamically registered in the DNS zone, which is necessary for the successful functioning of the DC locator mechanism.
 

What can be used to verify whether AD installation is proper with the SRV resource record?
After AD is installed, the DC will register SRV records in DNS when it restarts. It can be checked by using:

  • “DNS Manager” MMC snap-in

  • nslookup command.

 

How do clients find DCs in a domain?
Clients query DNS for the “A” and SRV DNS resource records of the DC, which provides the clients with the domain names and IP addresses of the DCs.

 

How to clear the DNS cache?

  • Reboot computer.

  • Run command:
    ipconfig /flushdns

bottom of page