martin_babarik
asked on
DNSCMD /exportsettings - how to use it?
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
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
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\ dnssetting s.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.
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\
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.
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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
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
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.