Internal DNS Works but External Lookups Time Out
Before you begin
- Applies to:Windows Server 2025 DNS when external lookups through a forwarder time out.
- Where to start:Start on the affected client, then run the forwarder tests from the DNS server itself. For graphical checks, use Desktop Experience or an approved Windows management workstation. Use PowerShell 7 or later unless a module requires Windows PowerShell.
- What you need:Have approved test names and the configured forwarder addresses.
Guide tools
Troubleshooting Steps
Compare authoritative and recursive answers
Start hereFrom the affected client, query an internal record and an approved external name against the same internal server. Record timeout versus DNS response code. Replace the internal DNS server and both names with approved test values. Use the same record type in each comparison.
$DnsServer = '192.0.2.53'Resolve-DnsName -Name 'app.example.com' -Server $DnsServer -Type A -DnsOnly -NoHostsFileResolve-DnsName -Name 'example.org' -Server $DnsServer -Type A -DnsOnly -NoHostsFileInspect the actual forwarding configuration
Where to click
- Open DNS Manager and open the serverโs Properties โ Forwarders.
- Check Conditional Forwarders for the failed suffix.
What to look for ยท Note general forwarders and any conditional forwarder matching the failed suffix. Check recursion and fallback configuration with the DNS owner.
Test the configured forwarder from the DNS server
On the DNS server, query the same name directly against the configured forwarder. Run one normal lookup and one with -TcpOnly. A normal lookup can fall back to TCP, so use approved logs or a trace if proving UDP behavior matters.
What you should see ยท The configured forwarder answers a known external name from the DNS server.
If you see something else ยท If only the forced TCP query succeeds, investigate the normal query path, including UDP 53. If both fail, confirm forwarder reachability and policy before changing the server.
$Forwarder = '192.0.2.54'Resolve-DnsName -Name 'example.org' -Server $Forwarder -Type A -DnsOnly -NoHostsFileResolve-DnsName -Name 'example.org' -Server $Forwarder -Type A -DnsOnly -NoHostsFile -TcpOnlyCorrect the failed hop
If both tests fail from the server, ask the network or upstream DNS owner to check reachability and policy. If direct queries work but the recursive path fails, compare suffix matching, recursion, fallback, and forwarding timeouts. Record old settings before any approved change.
Verify both query paths
VerifyRepeat the external test against the internal DNS server, then verify internal names still resolve from the affected subnet. Check that the result stays stable with an approved uncached name.
Decide What to Do Next
| Finding | Next action |
|---|---|
| Direct forwarder query fails | Investigate the server-to-forwarder path. |
| Direct works but normal recursion fails | Check conditional forwarding and recursion on the internal server. |
| One suffix fails | Check its conditional forwarder and expected authority. |
References
Your feedback keeps these production procedures accurate and battle-tested.