Where Windows .dns files?

Posted on 2013-01-02
Medium Priority
Last Modified: 2013-01-02
My DNS files are replicated via active directory. I used to be able to find them ages ago in the


folder. Now, there is only one file in there, cache.dns and it has very little info. I found one other file, netlogin.dns, in the  


folder, but it only has some info and not everything.
Question by:cajx
LVL 39

Expert Comment

by:Krzysztof Pytko
ID: 38737129
If you are using AD_Integrated DNS zone then DNS records are not stored in a plain text file. All of them are stored on an application partition and you can check them over ADSI Editor.

You have (by default) 2 application partitions for DNS server DNSDomainZone and DNSForestZone

When you are using standard DNS zones (not integrated with AD) then all records are stored in a plain text file named with zone name in %WINDIR%\system32\dns location

LVL 25

Expert Comment

by:Tony Giangreco
ID: 38737135
They are in %SystemRoot%\System32\DNS\*.dns

Do this to view them:
Start - Run - %SystemRoot%\System32\DNS\

You might also have system folders and files hidden in Windows Folder Options
LVL 18

Expert Comment

by:Sarang Tinguria
ID: 38737137
You should get in %SystemRoot%\System32\DNS\ and some in c:\windows\system32\config
 netlogon.dns & netlogon.dnb

thats it.. no other location if you find any discrepencies then restart the DNS and netlogon services these should get updated btw why are you looking for this ..? any parent issue..?
LVL 59

Accepted Solution

Darius Ghassem earned 2000 total points
ID: 38737164
If you want to extract the files from the zones if you are using AD integrated zones here is a procedure on this process


Author Closing Comment

ID: 38737432
Thanks!! Perfect, that's what I needed - it's AD integrated.

As for a parent problem, seeing if I have any rogue entries of a bad DC that I had to forcefully remove.

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Native ability to set a user account password via AD GPO was removed because the passwords can be easily decrypted by any authenticated user in the domain. Microsoft recommends LAPS as a replacement and I have written an article that does something …
In this article, we will discuss how you can secure Active Directory using free tools, and how you can choose a safe and secure Active Directory security auditing tool.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question