Windows Server 2025 / How to Configure DNS Forwarders and Verify External Lookups

A DNS forwarder sends queries for names a server does not resolve locally to another DNS server. This allows domain clients to keep using internal DNS while an approved upstream path handles external names.

Separate internal names from external connectivity

DC1 can answer fs1.lab.example.test from the practice zone. A name such as www.microsoft.com needs an external resolution path. Entering a forwarder does not itself create routing or internet access.

A fully isolated network without routing, NAT, or permitted DNS egress is expected to fail external queries. First confirm internal lookup. Do not connect the practice DHCP network to an office network simply to demonstrate forwarding.

Record the existing configuration

Run these on DC1 in elevated PowerShell and retain the forwarder and recursion settings:

Get-DnsServerForwarder
Get-DnsServerRecursion
Resolve-DnsName 'fs1.lab.example.test' -Type A -Server 172.24.50.10

A normal forwarder handles external queries according to server policy. A conditional forwarder targets a particular namespace. Do not create a conditional forwarder for a zone already hosted locally. DNS forwarding and fallback documentation explains the associated behavior.

Add an approved upstream resolver

  1. Obtain a DNS address approved for the actual lab routing or NAT arrangement.
  2. In DNS Manager, open DC1 properties → Forwarders.
  3. Edit the list, add the approved IP, inspect its reported status, and save.
  4. Preserve unrelated forwarders, timeouts, and root-hint options unless a separate design decision requires changing them.

Avoid loops: DC1 must not forward to itself or to another resolver that sends the same questions back. If using PowerShell, confirm that adding an entry does not unexpectedly replace the existing list.

Compare internal and external queries to the same server

Run on CLIENT1 and explicitly target DC1:

Resolve-DnsName 'fs1.lab.example.test' -Type A -Server 172.24.50.10
Resolve-DnsName 'www.microsoft.com' -Type A -Server 172.24.50.10

An external service’s returned addresses can change; do not require one fixed IP. If only external lookup fails, check upstream access and recursion. If both time out, inspect the client-to-DC1 path and DNS service first.

Successful external resolution may use cached data or a fallback path, so it does not prove which forwarder answered. To test an approved upstream resolver directly, query it using -Server, accounting for different egress rules on CLIENT1 and DC1.

Distinguish zone errors, cache, and rollback

Forwarder changes do not repair a wrong record in a locally hosted zone. Separate NXDOMAIN, refusal, and timeout. Use DNS server troubleshooting to inspect authoritative data and recursive paths independently.

Client and DNS-server caches are separate. Clear only the relevant cache after considering its impact, then repeat the same name, type, and target-server query. For rollback, remove only the lab-added forwarder and compare the remaining list and options with the original record. Do not use public alternate DNS on domain clients as a workaround for broken internal discovery.