Affected versions: Windows Server 2019

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution β€” Primary Fix
  7. Solution β€” Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

External domain lookups are slow or fail, causing package repositories and cloud endpoints to be intermittently unreachable.

Environment & Reproduction

Occurs on Windows Server 2019 DNS servers configured with dead upstream forwarders.

Get-DnsServerForwarder
Resolve-DnsName github.com -Server 127.0.0.1

Root Cause Analysis

Forwarder IPs are unreachable, filtered, or overloaded, so recursion stalls before root-hint fallback.

Quick Triage

Test TCP/UDP 53 reachability to each configured forwarder.

Test-NetConnection 1.1.1.1 -Port 53
Test-NetConnection 8.8.8.8 -Port 53

Step-by-Step Diagnosis

Compare response times with current forwarders versus temporary known-good resolvers.

Measure-Command { Resolve-DnsName powershellgallery.com -Server 127.0.0.1 }
Get-WinEvent -LogName 'DNS Server' -MaxEvents 60
Illustrative mockup for windows-server-2019 β€” terminal_or_powershell
Forwarder reachability testing β€” Illustrative mockup β€” Progressive Robot

Solution β€” Primary Fix

Replace unreachable forwarders and clear cache.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Set-DnsServerForwarder -IPAddress 1.1.1.1,8.8.8.8 -UseRootHint $true
Clear-DnsServerCache -Force
Restart-Service DNS
Illustrative mockup for windows-server-2019 β€” event_or_log_viewer
DNS timeout errors in Event Viewer β€” Illustrative mockup β€” Progressive Robot

Solution β€” Alternative Approaches

If policy forbids internet resolvers, remove forwarders and rely on root hints with approved egress rules.

Remove-DnsServerForwarder -IPAddress 10.10.10.10 -Force
Get-DnsServerRootHint

Verification & Acceptance Criteria

Lookups complete quickly and DNS timeout events cease.

Resolve-DnsName microsoft.com -Server 127.0.0.1
Get-WinEvent -LogName 'DNS Server' -MaxEvents 20

Rollback Plan

Reapply previous forwarders if split-brain or conditional forwarding requires them.

Set-DnsServerForwarder -IPAddress 10.10.10.10,10.10.10.11 -UseRootHint $false

Prevention & Hardening

Continuously monitor forwarder latency and availability.

Get-DnsServerStatistics
Test-NetConnection 1.1.1.1 -Port 53

Related to firewall egress restrictions and MTU path issues causing DNS packet loss.

Related tutorial: View the step-by-step tutorial for Windows Server 2019.

View all Windows Server 2019 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Microsoft Learn: DNS forwarders and recursion behavior in Windows Server.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.