Windows Server 2025 / DNS Basics: Zones, Records, and Name Resolution

The Domain Name System (DNS) finds IP addresses and service locations for names. Windows Server stores records in zones, and Active Directory also uses DNS to locate domain controllers and directory services.

A lookup asks a configured DNS server a specific question

A client sends a name and record type to a resolver. The server can answer from its own zones or use cache, forwarding, or recursion for other names. A name-to-address relationship is not necessarily permanent.

For example, fs1.lab.example.test can identify 172.24.50.20 so users need not memorize its address. Creating that record does not install file sharing, a website, or authentication, and does not grant access. Test name resolution and the actual service separately.

A zone defines an administered part of the namespace

This course separates the practice zone lab.example.test from the later AD domain ad.example.test. Both use example namespaces. Microsoft’s zone documentation describes storage and replication choices.

Zone or storage arrangement Purpose
Primary Stores the writable source of the records
Secondary Receives a read-only copy from another DNS server
AD-integrated Stores data in AD DS on a DNS domain controller, with directory replication and secure update options
Reverse lookup Stores PTR records used to find names from addresses

AD integration is not available on every standalone DNS server. Before DC1 is promoted, use a file-backed primary zone for practice and create the domain’s directory-integrated zone during domain setup.

Record types contain different kinds of data

Type Meaning
A A name to an IPv4 address: fs1 → 172.24.50.20
AAAA A name to an IPv6 address
CNAME An alias to another name: portal → fs1.lab.example.test
PTR An address to a host name
SRV Service location and port, including AD discovery
TXT Text data such as verification information

A CNAME target must resolve. Web aliases can also need matching bindings and certificates; SMB aliases can have service-side requirements. DNS alone does not complete a service rename.

A missing reverse record can cause nslookup to label a DNS server Unknown even when the requested A lookup works. Reverse lookup and forward lookup are separate tests; not every application requires both.

Account for caching and TTL

Time to Live (TTL) controls how long a response can be cached. A changed record may remain old on another resolver or client until its cache changes. Compare the same name, record type, and server:

Resolve-DnsName -Name 'fs1.lab.example.test' -Type A -Server 172.24.50.10
nslookup fs1.lab.example.test 172.24.50.10

Run these on CLIENT1 after creating the zone and record. The expected A result includes 172.24.50.20. Before configuration, failure is expected. A nonexistent-name response and a timeout indicate different problems.

Use internal DNS for domain discovery

A domain computer uses DNS to locate controllers. Internet browsing alone does not establish healthy domain DNS: public resolvers do not know a private AD zone’s SRV records. Keep internal discovery on internal DNS and plan forwarding for external names.

Before manually editing AD service records, understand their role and registration process. Practice A, CNAME, and PTR changes in the separate practice zone so that ordinary DNS exercises do not damage domain discovery.

More posts in this category
Windows Server 2025 / How to Download the Evaluation ISO and Prepare a Virtual Machine

Windows Server 2025 / How to Download the Evaluation ISO and Prepare a Virtual Machine

Get official evaluation media, check activation conditions, prepare a Hyper-V VM, and troubleshoot common installation boot problems.

Windows Server 2025 / How to Manage Local Users and Groups

Windows Server 2025 / How to Manage Local Users and Groups

Create standard local accounts and groups, verify membership and session identity, and understand safe disablement and cleanup.

Windows Server 2025 / How to Install Windows Admin Center and Connect a Server

Windows Server 2025 / How to Install Windows Admin Center and Connect a Server

Plan the gateway, HTTPS certificate, and server connection, then troubleshoot browser and management paths separately.

Windows Server 2025 / How to Use PowerShell Remoting with WinRM

Windows Server 2025 / How to Use PowerShell Remoting with WinRM

Configure a targeted remote management path, distinguish domain and workgroup authentication, and verify where commands execute.

Windows Server 2025 / Server Roles and Learning Roadmap

Windows Server 2025 / Server Roles and Learning Roadmap

Understand the roles Windows Server 2025 can provide, plan a small learning environment, and follow a practical workflow from installation to verified recovery.

Windows Server 2025 / How to Install RSAT on a Windows Management PC

Windows Server 2025 / How to Install RSAT on a Windows Management PC

Install the required administration tools on Windows 11, then distinguish a working console from successful server access.

Windows Server 2025 / How to Set the Computer Name, Static IP, DNS, and Time

Windows Server 2025 / How to Set the Computer Name, Static IP, DNS, and Time

Configure initial server identity and networking while preserving console access, and choose DNS and time settings appropriate to the domain stage.

Windows Server 2025 / How to Install Desktop Experience

Windows Server 2025 / How to Install Desktop Experience

Select the correct installation image and disk, complete setup in a lab VM, and verify Administrator access and operating system details.

Windows Server 2025 / Standard vs Datacenter: How to Choose an Edition

Windows Server 2025 / Standard vs Datacenter: How to Choose an Edition

Compare editions separately from installation options, review feature and virtualization requirements, and check the edition installed on your server.

Windows Server 2025 / How to Handle PowerShell Errors and Write Run Logs

Windows Server 2025 / How to Handle PowerShell Errors and Write Run Logs

Compare successful and failed file reads, preserve structured error details, and distinguish exception handling from rollback.