SOLVED

[MAJOR ISSUE] b20257, b20262 DNS Server service keeps crashing 0x0374

%3CLINGO-SUB%20id%3D%22lingo-sub-1904736%22%20slang%3D%22en-US%22%3E%5BMAJOR%20ISSUE%5D%20Server%20vNext%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1904736%22%20slang%3D%22en-US%22%3E%3CP%3EDear%20Server%20Insider%20team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20facing%20the%20following%20issue%20starting%20with%20build%20b20257%3C%2FP%3E%3CP%3EDNS%20Server%20service%20keeps%20crashing%20and%20stopped%20on%20all%20ADDS%20DCs%20consisting%20of%20only%20hardware%20and%20Hyper-V%20ADDS%20Servers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEffectively%20the%20domain%20becomes%20unuseable.%20It%20seems%20that%20the%20crash%20occours%20every%20time%20a%20DNS%20update%20is%20incoming%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eaffected%20builds%3A%20Windows%20Server%20vNext%20SAC%20%2B%20LTSC%20starting%20with%20b20257%2C%20b20262%3C%2FP%3E%3CP%3Eunaffected%20builds%3A%26nbsp%3BServer%20vNext%20SAC%20%2B%20LTSC%26nbsp%3B%20b20251%20or%20earlier%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EScenario%3A%3C%2FP%3E%3CP%3E3%20DCs%2C%201%20Site%2C%20Server%20vNext%20SAC%20(2%20VMs)%2C%20LTSC%20(Hyper-V%20Server%2C%20SET%20Switch)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EReproducible%3A%20yes%3C%2FSTRONG%3E%3CBR%20%2F%3E%3CSTRONG%3EScope%3A%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3EAffects%20all%20ADDS%20Domain%20Controllers%20(hardware%20or%20physical)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eexemplary%20log%3A%3CBR%20%2F%3EDNS%20Service%20keeps%20crashing%20(seems%20like%20it%20does%20so%20on%20every%20incoming%20DNS%20update%20request).%3C%2FP%3E%3CP%3EServername%201000%20Error%20Application%20ErrorApplication12.11.2020%2021%3A19%3A39%3CBR%20%2F%3EFaulting%20application%20name%3A%20dns.exe%2C%20version%3A%2010.0.20257.1000%2C%20time%20stamp%3A%200x749de11c%3CBR%20%2F%3EFaulting%20module%20name%3A%20ntdll.dll%2C%20version%3A%2010.0.20257.1000%2C%20time%20stamp%3A%200x12a774b2%3CBR%20%2F%3E%3CSTRONG%3EException%20code%3A%200xc0000374%3C%2FSTRONG%3E%3CBR%20%2F%3EFault%20offset%3A%200x0000000000106489%3CBR%20%2F%3EFaulting%20process%20id%3A%200x36b8%3CBR%20%2F%3EFaulting%20application%20start%20time%3A%200x01d6b930e2ddeb12%3CBR%20%2F%3EFaulting%20application%20path%3A%20C%3A%5CWINDOWS%5Csystem32%5Cdns.exe%3CBR%20%2F%3EFaulting%20module%20path%3A%20C%3A%5CWINDOWS%5CSYSTEM32%5Cntdll.dll%3CBR%20%2F%3EReport%20Id%3A%2067ab2451-27d1-4fb2-a830-270509c59348%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20did%20the%20issue%20appear%3A%3C%2FP%3E%3CP%3Eafter%20upgrade%20to%2020257.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1904736%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDNS%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EServers%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Evnext%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1904886%22%20slang%3D%22en-US%22%3ERe%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1904886%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F289393%22%20target%3D%22_blank%22%3E%40K_Wester-Ebbinghaus%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EI'm%20experiencing%20the%20same.%26nbsp%3B%20The%20DNS%20server%20goes%20offline%20after%20any%20Active%20Directory%20install.%3CBR%20%2F%3E%3CBR%20%2F%3EOS%20Build%2020257.1000%3CBR%20%2F%3EPerformed%20multiple%20installs%20and%20attempts%2C%20all%20with%20the%20same%20result%20(attached).%3CBR%20%2F%3EInstalled%20under%20Hyper%20V%20running%20the%20same%20Insiders%20build%20of%20Server.%26nbsp%3B%20And%20the%20other%20a%20Windows%2010%2019042.630.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1918518%22%20slang%3D%22en-US%22%3ERe%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1918518%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20you%20for%20reporting%20this%20issue!%26nbsp%3B%20We%20have%20a%20fix%20to%20address%20this%20issue%20and%20it%20will%20be%20available%20in%20the%20next%20Windows%20Server%20Insiders%20build.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EElden%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1919284%22%20slang%3D%22en-US%22%3ERe%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1919284%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F53017%22%20target%3D%22_blank%22%3E%40Elden%20Christensen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20been%20experiencing%20similar%20problems%20with%20DNS.%20Can%20I%20solve%20this%20problem%20by%20uninstalling%20the%20latest%20Windows-update%3F%20And%2For%20should%20I%20wait%20on%20your%20patch%20for%20this%20problem%2C%20as%20I%20saw%20that%20I'm%20not%20the%20only%20one%20having%20this%20issue%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3EGreets%20Beau%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1935856%22%20slang%3D%22en-US%22%3ERe%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1935856%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20do%20you%20expect%20a%20new%20build%20with%20the%20fix%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1937529%22%20slang%3D%22en-US%22%3ERe%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1937529%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F47048%22%20target%3D%22_blank%22%3E%40Thomas%20Lee%3C%2FA%3E%26nbsp%3BI%20suppose%20after%20their%20deserved%20holidays.%20Perhaps%20next%20Thursday.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1946700%22%20slang%3D%22en-US%22%3ERe%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1946700%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20sorry%20for%20the%20delayed%20response.%26nbsp%3B%20The%20fix%20will%20be%20available%20in%20tomorrows%20build.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EElden%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1952315%22%20slang%3D%22en-US%22%3ERE%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952315%22%20slang%3D%22en-US%22%3EI%20now%20have%20that%20build%20and%20it%20does%20seem%20to%20cure%20the%20DNS%20issues.%20Thanks%22%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1952856%22%20slang%3D%22en-US%22%3ERE%3A%20%5BMAJOR%20ISSUE%5D%20b20257%2C%20b20262%20DNS%20Server%20service%20keeps%20crashing%200x0374%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1952856%22%20slang%3D%22en-US%22%3E%3CP%3EGreat%20to%20hear%20Thomas%2C%20thank%20you%20for%20reporting%20the%20issue%2C%20your%20patience%20while%20we%20fixed%20it%2C%20and%20verifying%20it%20is%20now%20addressed!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%3CBR%20%2F%3EElden%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

Dear Server Insider team,

 

I am facing the following issue starting with build b20257

DNS Server service keeps crashing and stopped on all ADDS DCs consisting of only hardware and Hyper-V ADDS Servers.

 

Effectively the domain becomes unuseable. It seems that the crash occours every time a DNS update is incoming

 

affected builds: Windows Server vNext SAC + LTSC starting with b20257, b20262

unaffected builds: Server vNext SAC + LTSC  b20251 or earlier

 

Scenario:

3 DCs, 1 Site, Server vNext SAC (2 VMs), LTSC (Hyper-V Server, SET Switch)

 

Reproducible: yes
Scope: Affects all ADDS Domain Controllers (hardware or physical)

 

 

exemplary log:
DNS Service keeps crashing (seems like it does so on every incoming DNS update request).

Servername 1000 Error Application ErrorApplication12.11.2020 21:19:39
Faulting application name: dns.exe, version: 10.0.20257.1000, time stamp: 0x749de11c
Faulting module name: ntdll.dll, version: 10.0.20257.1000, time stamp: 0x12a774b2
Exception code: 0xc0000374
Fault offset: 0x0000000000106489
Faulting process id: 0x36b8
Faulting application start time: 0x01d6b930e2ddeb12
Faulting application path: C:\WINDOWS\system32\dns.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 67ab2451-27d1-4fb2-a830-270509c59348

 

When did the issue appear:

after upgrade to 20257.

 

28 Replies

@K_Wester-Ebbinghaus 

I'm experiencing the same.  The DNS server goes offline after any Active Directory install.

OS Build 20257.1000
Performed multiple installs and attempts, all with the same result (attached).
Installed under Hyper V running the same Insiders build of Server.  And the other a Windows 10 19042.630.

Thank you for reporting this issue!  We have a fix to address this issue and it will be available in the next Windows Server Insiders build.

 

Thanks!
Elden

@Elden Christensen 

Hi,

 

I have been experiencing similar problems with DNS. Can I solve this problem by uninstalling the latest Windows-update? And/or should I wait on your patch for this problem, as I saw that I'm not the only one having this issue? 

 

Thanks in advance!

Greets Beau

When do you expect a new build with the fix?  

 

 

@Thomas Lee I suppose after their deserved holidays. Perhaps next Thursday.

Hi, sorry for the delayed response.  The fix will be available in tomorrows build.

 

Thanks!
Elden

best response confirmed by Elden Christensen (Microsoft)
Microsoft Verified Best Answer
Solution
I now have that build and it does seem to cure the DNS issues. Thanks"

Great to hear Thomas, thank you for reporting the issue, your patience while we fixed it, and verifying it is now addressed!

 

Thanks!
Elden

@Elden Christensen @Thomas Lee 

can confirm all Server LTSC GUI / Server Core SAC AD DS DNS are working fine now after IPU to b20270!

Thanks for transparent communication and quick fix!

I have 20270 and this bug has re-surfaced. I can not keep the DNS Service running.

@Thomas Lee that's unfortunate. Have you tried b20282 yet? It kept being stable on 20270 for me on 3 VMs and one hardware ADDS DNS

Finished the Updtate - but the issue continues.

 

My workaround is this script, run in a window and minimised:

While ($true) {start-service dns; Start-Sleep -Seconds 2}

@Thomas Lee hi Thomas from what I have seen in the bugged release the issue happened as soon an DNS record was being updated. I suggest that you get in touch with the Server vNext Team. as @Elden Christensen asked for examples where the rolled out fix in b20270 would not work.

 

 

@K_Wester-Ebbinghaus THANKS for that comment. I have indeed written to Elden. NO answer, but it is Sunday morning! :)

 

This is a serious bug and it is one that was previously fixed. I kind of need this bug fixed - it breaks everything. And, why did this bug re-occur? Is this a very weird edge case that slipped through the cracks (it happens :0) )?

 

What is that joke: The problem is DNS, now what was the question?

 

My workaround is crude and not perfect:

 

While ($true) {Start-Service -Name DNS; Start-Sleep -Seconds 3}

 

 

b20282 is also stable for me even after running some days. I would suggest to upgrade to b20282 and eventually remove and reinstall all DNS / ADDS one by one so you have at least one running with your fix. once you notice that after the reinstall the issue is gone this might be your stable route for DNS / ADDS again.
Does this release have a fix for DNS crashes?

@doctordns If you upgrade to the newest build and still have this issue, could you please provide some crash dumps and help out with reproduction steps? You can use this to capture crash logs https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

Also, if you turn on page heap using gflags before running the repro that will be great. More information on that here: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/gflags-and-pageheap#:~:text=To%20...