🧩 Windows DNS

Windows DNS (running on the Domain Controller) is the authoritative internal DNS service for the Active Directory domain. It provides the DNS infrastructure required for domain‑joined systems, authentication, service discovery, and reverse lookups.


🟦 Windows DNS Responsibilities

Windows DNS hosts and maintains all DNS zones required for Active Directory:

Forward Lookup Zones

These zones contain:

Reverse Lookup Zones

Windows DNS also manages reverse lookup zones such as:

20.168.192.in-addr.arpa

These zones provide:

Delegated Subzones

When a subdomain is hosted outside the Domain Controller’s DNS—for example, on Cloudflare—Windows DNS must be told to hand off authority for that subzone. This is done through DNS delegation. Without a delegation, the DC assumes full ownership of the entire parent zone and returns NXDOMAIN for valid external records. Delegation ensures queries for the external subdomain are routed to the correct nameservers while the DC remains authoritative only for the parent zone.

šŸ‘‰ See: Windows DNS Delegation

Dynamic DNS Integration

Windows DNS supports:

This functionality is essential for:


🟩 Why Windows DNS Must Remain Authoritative

Active Directory depends on DNS for nearly every operation.
Windows DNS is the only service that:

No external DNS resolver (public or local) can replace these functions.


🟧 Relationship With Pi‑hole

Pi‑hole acts as the first‑hop DNS resolver for clients on the network, but it is not authoritative for the AD domain and does not maintain internal DNS records.

Because Windows DNS is authoritative for refol.us and its subzones, Pi‑hole must forward all queries for the internal domain to the Domain Controller.

This ensures:

Pi‑hole handles filtering and upstream resolution for public domains, while Windows DNS handles authoritative resolution for internal domains.

šŸ‘‰ See: Pi-hole Active Directory Integration


🟨 Conditional Forwarding Requirement

To maintain proper AD functionality, Pi‑hole must be configured to conditionally forward the internal domain:

refol.us → <Domain Controller IP>

This preserves the correct DNS flow:

Clients → Pi‑hole → Windows DNS (authoritative for refol.us)

Windows DNS then provides the authoritative internal answer, while Pi‑hole continues to manage all external DNS traffic.