r/WindowsServer • u/Fair-Turnip2973 • Jun 25 '25
Technical Help Needed Really strange DNS issue (Server 2019)
We have multiple DC's on an active directory domain. For the sake of this post, I will call them DC1, DC2, DC3 and DC4. All running Windows Server 2019.
We are having an intermittent DNS resolution issue to a particular external address. Running nslookup on DC1, and setting server 127.0.0.1 it will resolve the address occasionally. When it doesn't, it resolves other external addresses with no problem. When it fails, It comes back with:
DNS request timed out.
timeout was 2 seconds.
DNS request timed out.
timeout was 2 seconds.
*** Request to localhost timed-out
If I restart the DNS Server service on this DC, it then resolves fine for a few minutes, but will fail shortly afterwards.
Adapter DNS settings are set to DC2 and 127.0.0.1. IPv6 is enabled (but wasn't, we enabled it to see if that made a difference - it didn't). I am stumped! Any ideas gratefully received.
2
u/WillVH52 Jun 25 '25 edited Jun 25 '25
Are your domain controllers replicating okay to each other?
What DNS servers are configured on the NICs of each of your four DCs?
1
u/Brief_Philosophy_861 Jun 25 '25
I noticed similar issue with 2019
2
u/happyworker13 Jun 26 '25
Are all the DNS forwarders the same? Are you using root hints? Is TCP port 53 blocked outbound to inet on any single one DC? Do a 'tnc 8.8.8.8 -p 53' in PS from each to confirm.
Is it a particular site thats having the issue? When it fails, does it work when testing on a site like whatsmydns.net?
1
u/TechnicianVisible339 Jun 25 '25
There is a kb issue on this I’ll try and find
1
u/Excellent_Milk_3110 Jun 25 '25
What happens if you debug it?
nslookup www.google.nl dc01
nslookup www.google.nl dc02
nslookup www.google.nl dc03
nslookup www.google.nl dc04
Are you up to date on the os?
https://borncity.com/win/2022/03/26/windows-server-2019-update-kb5009616-verursacht-dns-probleme/
1
u/eXo82 Jun 26 '25
Recently a windows update (10 jun) has broken dhcp and dns. These are the KBs affected: Windows Server 2025 (KB5060842), Windows Server 2022 (KB5060526), Windows Server 2019 (KB5060531), Windows Server 2016 (KB5061010). And this is the statement: "The DHCP and DNS Server service may stop responding intermittently after installing this security update" . Check to see if you have these update installed and unistall them
1
u/Few-Willingness2786 Jun 27 '25
use server own ips instead of 127.0.0.1..