Windows AD DNS Export

From KlavoWiki
Revision as of 00:24, 3 June 2023 by David (Sọ̀rọ̀ | contribs) (Created page with "To export an Activie Directory integrated zone. <pre> Export-DnsServerZone -Name "domainname.com" -FileName "domainname.com.txt" </pre> or <pre> dnscmd /zoneexport domainname.com domainname.com.txt </pre> To ensure you don't receive a permission denied error change folders to C:\windows\system32\dns. If you are located in any other folder when the command is executed the exported file is save to the folder: <pre> c:\windows\system32\dns </pre> Category : Windows ")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

To export an Activie Directory integrated zone.

 Export-DnsServerZone -Name "domainname.com" -FileName "domainname.com.txt" 

or

 dnscmd /zoneexport domainname.com domainname.com.txt 

To ensure you don't receive a permission denied error change folders to C:\windows\system32\dns. If you are located in any other folder when the command is executed the exported file is save to the folder:

 c:\windows\system32\dns