#dns #windows #windowsserver2022 #microsoft
DNS (Domain Name System) is a naming system for computers, services, or other resources. Domain Name System resolves hostnames to IP address and IP address to resolves hostnames. DNS zone is a portion of the DNS namespace. The most commonly used zone types in Windows Server DNS are Forward Lookup Zones and Reverse Lookup Zones.
Demo environment
Computer Name: win2022
Operating System: Windows Server 2022 Datacenter/Standard
IP Address: xxx.xxx.xxx.xxx (Static IP is required)
Common DNS records:-
A Record: Name to IP address mapping
CNAME: Maps an alias to the canonical name
MX Record: Used to identify mail servers
NS Record: Identifies the name servers for a particular zone
SOA: Start of Authority records
TXT: Allows any text to be inserted into a DNS record
Primary Zone: This is the main zone and has a read & write a copy of the zone data. All changes to the zone are made in the primary zone and are replicated in the secondary zones.
Secondary Zone: A secondary Zone is a read-only copy of the primary zone. This zone cannot process updates and can only retrieve updates from the primary zone. This zone can answer DNS name resolution queries from clients, this helps reduce the workload on the primary zone. Secondary zones cannot be active directory integrated.
Stub zones: Stub zones are like a secondary zone but only store partial zone data. These zones are useful to help reduce zone transfers by passing the requests to authoritative servers. These zones only contain only three records (SOA, NS, and A records).