Pcornel
Windows · DNS Server

Conditional Forwarders

Cheat sheet · https://pcornel.dk/topic.php?topic=3295

Back to the Topic

Answer

A conditional forwarder sends queries for a specific DNS suffix/namespace to configured DNS servers instead of using the general recursion path.

Remember

  • Conditional forwarding is namespace-specific.
  • Configured target ≠ target reachable ≠ target authoritative/capable of recursion for that namespace.
  • A local authoritative zone/delegation can change the path before a forwarder is considered.
  • AD-stored conditional forwarders can replicate, but replica presence is separate evidence from target-server health.

First checks

  • Get-DnsServerZone — zones on the server
  • Get-DnsServerResourceRecord -ZoneName <zone> -Name <name> — records
  • Resolve-DnsName <name> -Server <dns> — query the server
  • Get-DnsServerForwarder — forwarders
  • dcdiag /test:dns /v — DC DNS health

Verify in this order

query for the domain → forwarded to its servers

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

DNS Server → Conditional Forwarders reference map

BoundaryMeaningEvidence limit
MatchQuery suffix selects forwarderDoes not prove target
TargetForwarder receives queryDoes not prove final answer
AnswerRemote result returnedCan still be stale/wrong upstream

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3295

Confirmation

Confirm action

Continue?