Solved

DNSCMD /exportsettings - how to use it?

Posted on 2008-10-10
5
2,440 Views
Last Modified: 2011-10-03
Hello,

I was wondering if anyone could shed some light on the following question:
I know how to use the command dnscmd /exportsettings, but what is the right way to use the generated file? If I open it simply in Notepad it doesn't seem like something easy to read. I would be more expecting that there exist some /importsettings switch, but it seems that there is not anything like that.
So what is this command good for?
Thank you in advance
Regards

Martin
0
Comment
Question by:martin_babarik
  • 2
  • 2
5 Comments
 
LVL 33

Expert Comment

by:MikeKane
ID: 22688055
Ya, having an import would be too easy.    

Here's how to import the file:
http://blogs.pointbridge.com/Blogs/enger_erik/Pages/Post.aspx?_ID=2&t=a

The backup file can be used to recreate the zone when the time comes....  Read that post - its an excellent step by step.
0
 
LVL 31

Expert Comment

by:Paranormastic
ID: 22688079
Here is the current command syntax for dnscmd:
http://technet.microsoft.com/en-us/library/cc772069.aspx#BKMK_25a

Unfortuantely I do not have enough in the lab doing 2008 yet to look into this directly - are you able to upload the %systemroot%\system32\dns\dnssettings.txt file that results from this?

Does dnscmd /info give you what you are looking for?  If you need it in txt just add > c:\temp\filename.txt at the end.
0
 
LVL 13

Author Comment

by:martin_babarik
ID: 22693446
Hello and thank you for the replies.
MikeKane: thanks but this guide refers to exporting the zone, which I understand. I was asking about /exportsettings switch.

Paranormastic: Actually using dnscmd /info > some file will do almost the same action like /exportsettings - but the question is: how to use that information?
Where to import it, how to use it for a configuration of DNS server? I was searching for anything like "import settings" either in GUI or CMD, but no success.

Any other ideas?
Martin
0
 
LVL 31

Accepted Solution

by:
Paranormastic earned 500 total points
ID: 22713721
Sounds like you are trying to install DNS by exporting the old DNS from presumably a Win2003 box so you can import them into the 2008 box?  Or that you're hoping you could just use the server as a client to get the info or something?

Here is a link that has some decent general information for you, as well as some good links to additional resources.
http://forums.techarena.in/server-migration/936298.htm

Setting up DNS in GUI shouldn't need to do this at all, the DNS setup wizard should be pretty smooth for whatever you need to know.  If you are running in core mode or just an old command line junkie, then it might come in useful, but is usually more for diagnostics / documentation.

There's not really a lot of great info on this command yet, but there is enough to get by if you dig around a little bit.  I'm just waiting for them to start making a batch file styled wizard some day for core installs!

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9dec9c21-27d1-4781-9ef8-6555a804a79f.mspx?mfr=true

http://www.windowsreference.com/dns/how-to-setup-and-configure-dns-from-command-line-in-windows-server-2008-core/


Hope this helps - if you still have some questions, please let me know and be a little bit more specific as to what you are trying to accomplish that has not already been answered.
0
 
LVL 13

Author Closing Comment

by:martin_babarik
ID: 31505048
Thank you very much.
I think your mentioning about "for documentation" could be the correct answer, as there doesn't seem to be any other use of this command.
But I owe you an explanation while being more specific: I'm writing a book about Windows Server 2003 and one of the topics I planned to write about was exporting the settings from one DNS server and importing them to another DNS server - doesn't matter whether they are 2003 or 2008. So I thought this exportsettings command will do the job, but I'm missing the second half - import:-)
Anyway thanks a lot.
Regards
Martin
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
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 show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now