Windows Server / DNS, DHCP & Server Networking
Investigate external-name failures on a Windows DNS server
Internal names can resolve while external queries fail because forwarding, recursion or upstream connectivity differs.
Environment and inputs: Windows Server 2022 / 2025 baseline · Windows PowerShell with the specified role or RSAT modules; native utilities are identified in the text. Use delegated administration and elevation only where required.
Start with this check
Check the computer, command shell and account permissions. Replace example names, file paths, domains and interfaces with approved values. These commands help investigate the problem. Before making changes, check the rules and the effect on running applications.
Get-DnsServerForwarder -ComputerName DNS01
What the results mean
The command reports configured forwarders and associated settings for the selected server. It does not prove those upstream resolvers currently answer.
Fix the cause and check again
Test an approved external name through the server, compare forwarder reachability and inspect DNS events. Repair the intended upstream path and validate internal names as well.
Before changing production
Do not replace enterprise forwarding with an arbitrary public resolver or expose recursive DNS to the internet.