Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1676
  • Last Modified:

Where Windows .dns files?

My DNS files are replicated via active directory. I used to be able to find them ages ago in the

c:\windows\system32\dns

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  

c:\windows\system32\config

folder, but it only has some info and not everything.
0
cajx
Asked:
cajx
1 Solution
 
Krzysztof PytkoActive Directory EngineerCommented:
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

Regards,
Krzysztof
0
 
Tony GiangrecoCommented:
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
0
 
Sarang TinguriaSr EngineerCommented:
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..?
0
 
Darius GhassemCommented:
If you want to extract the files from the zones if you are using AD integrated zones here is a procedure on this process

http://support.microsoft.com/kb/304489
0
 
cajxAuthor Commented:
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.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now