Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a Windows 2008 R2 Server, Its primary role is to be a DNS server.

I cant find how to import the previously "exported" DNS entries.

To export I selected the server, clicked on Action->Export List.

This created a text file of the entries. How do you import these entries if something was to go wrong and I needed to restore the previous settings ?

If there is a way to do this via GUI that would be preferable to me.


share|improve this question
Is this a standard zone or an AD-integrated zone? – Massimo Sep 1 '13 at 12:17
Standard, no AD on this server – IEnumerable Sep 1 '13 at 12:17

3 Answers 3

up vote 3 down vote accepted

If this is a standard DNS zone, the easiest way to back it up and restore it is to simply make a copy of the related zone file; you can find it in C:\Windows\System32\DNS, it's named "".

share|improve this answer
Yes I found this online just recently, they also noted that they Stopped the server before copying. Is this important? – IEnumerable Sep 1 '13 at 14:45
It's definitely better, otherwise the file could be locked. – Massimo Sep 1 '13 at 21:26
@Massimo i want to change my website webserver.can i just copy file in c:\Windows\System32\dns to new server ?? – AminM Apr 20 at 13:41
@JesonPark, what do you mean? And what exactly is a DNS server doing on a web server?!? – Massimo Apr 20 at 15:37
@Massimo i have server with ip .i bind my .com domain to server .now i want change my server .new server have ip .can i copy dns config from okd server to new?? – AminM Apr 20 at 16:00

That doesn't export the DNS records, it exports a list (txt or csv) of whatever is in the right pane. That's the same functionality as exists in any other tool, such as ADUC.


To clarify, you did not export the DNS records or the zone file. You simply exported a list of the DNS records, or more correctly, you exported a list of the contents of the right pane in the DNS management console. If you want to export the actual zone file then use the dnscmd tool:

share|improve this answer
It appears you may have forgotten to answer the question? – Ryan Ries Sep 1 '13 at 14:44

You can't export the zone via GUI, but you can do it via command line:

dnscmd /zoneexport

By default the file will be created in C:\Windows\System32\dns.

Source: dnscmd.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.