What are the tasks of the Domain Name System (DNS) in a Windows domain / Active Directory?
Answer
DNS is one of the most important services in IP networks: it answers name-resolution requests – it translates a name into an IP address (forward lookup, A/AAAA records). In Windows domains the reverse lookup (IP address → name, PTR records) is also used.
In Active Directory, DNS is mandatory – without working DNS, AD does not work:
Finding domain controllers: clients use SRV records to find the DC responsible for logon, LDAP and Kerberos.
Kerberos authentication depends on correct name resolution.
AD-integrated zones: DNS data is stored in AD and replicated automatically between DCs.
Site awareness: clients find the nearest DC.
Diagram
Key vocabulary
Term
Meaning
Example
name resolution
translating a name into an IP address
Name resolution failed, so the share was not found.
forward / reverse lookup
name → IP / IP → name
The reverse lookup returned the server’s name.
SRV record
a DNS entry that points to a service
Clients find the domain controller via SRV records.
domain controller (DC)
a server that runs Active Directory
We have two domain controllers for redundancy.
zone
a part of the DNS namespace managed by a server
The zone firma.local is AD-integrated.
to replicate
to copy data automatically between servers
DNS zones replicate between the DCs.
Useful phrases
to resolve a nameThe client can’t resolve the server name.
It’s always DNS.The logon fails? It’s always DNS.
to point to the DC as DNS serverClients must point to the DC as their DNS server.
to look up a recordUse nslookup to look up the SRV record.
Talk about it
A new PC cannot join the domain. Why is DNS the first thing you check?
Explain forward and reverse lookup with examples.
Why should clients in a domain not use the router or Google as their DNS server?
IHK hint
German: DNS im AD: Namensauflösung (Forward), Reverse Lookup; Auffinden der Domain Controller über SRV-Einträge; Voraussetzung für Anmeldung und Kerberos.