Discussion:
DNSCMD Question
(too old to reply)
g***@gmail.com
2008-02-28 23:16:30 UTC
Permalink
Trying to use dnscmd.exe to reset forwarders on 24 domain
controllers. According to the documentation, I should be able to use
the /resetforwarders flag like this:

dnscmd [ServerName] /resetforwarders [IPAddress [,IPAddress]...][/
timeoutTimeOut] [/slave|/noslave]

So, I try this command:

dnscmd.exe my-dc01 /resetforwarders 0.0.0.1,0.0.0.2 /slave

And I get this error:

DNS Server failed to reset forwarders.
Status = 9552 (0x00002550)

Command failed: DNS_ERROR_INVALID_IP_ADDRESS 9552 (00002550)

According to the usage of the command, I should be able to list
multiple IP addresses for the new forwarders. The command is
successful if I use a single IP address but I need to replace the
existing forwarders with two new forwarders. I have tried several
ways of listing the IP address in the command - e.g. "0.0.0.1,0.0.0.2"
or "0.0.0.1, 0.0.0.2" or "0.0.0.1 ,0.0.0.2", etc.

Am I reading the command usage incorrectly?
g***@gmail.com
2008-02-28 23:23:10 UTC
Permalink
I should note that 0.0.0.1 and 0.0.0.2 aren't the IP addresses I'm
trying to use with the command. I changed them for the sake of
posting. I can see how, without clarifying that, it would be easy to
explain the INVALID_IP_ADDRESS error. :o)
Post by g***@gmail.com
Trying to use dnscmd.exe to reset forwarders on 24 domain
controllers.  According to the documentation, I should be able to use
dnscmd [ServerName] /resetforwarders [IPAddress [,IPAddress]...][/
timeoutTimeOut] [/slave|/noslave]
dnscmd.exe my-dc01 /resetforwarders 0.0.0.1,0.0.0.2 /slave
DNS Server failed to reset forwarders.
    Status = 9552 (0x00002550)
Command failed:  DNS_ERROR_INVALID_IP_ADDRESS     9552  (00002550)
According to the usage of the command, I should be able to list
multiple IP addresses for the new forwarders.  The command is
successful if I use a single IP address but I need to replace the
existing forwarders with two new forwarders.  I have tried several
ways of listing the IP address in the command - e.g. "0.0.0.1,0.0.0.2"
or "0.0.0.1, 0.0.0.2" or "0.0.0.1 ,0.0.0.2", etc.
Am I reading the command usage incorrectly?
g***@gmail.com
2008-02-29 22:09:52 UTC
Permalink
Just figured out that there are no commas between the IP addresses in
this command; just a space. Duh... Hopefully, this post is
searchable and will help some other ignoramous like myself down the
road. :o)
Post by g***@gmail.com
I should note that 0.0.0.1 and 0.0.0.2 aren't the IP addresses I'm
trying to use with the command.  I changed them for the sake of
posting.  I can see how, without clarifying that, it would be easy to
explain the INVALID_IP_ADDRESS error. :o)
Post by g***@gmail.com
Trying to use dnscmd.exe to reset forwarders on 24 domain
controllers.  According to the documentation, I should be able to use
dnscmd [ServerName] /resetforwarders [IPAddress [,IPAddress]...][/
timeoutTimeOut] [/slave|/noslave]
dnscmd.exe my-dc01 /resetforwarders 0.0.0.1,0.0.0.2 /slave
DNS Server failed to reset forwarders.
    Status = 9552 (0x00002550)
Command failed:  DNS_ERROR_INVALID_IP_ADDRESS     9552  (00002550)
According to the usage of the command, I should be able to list
multiple IP addresses for the new forwarders.  The command is
successful if I use a single IP address but I need to replace the
existing forwarders with two new forwarders.  I have tried several
ways of listing the IP address in the command - e.g. "0.0.0.1,0.0.0.2"
or "0.0.0.1, 0.0.0.2" or "0.0.0.1 ,0.0.0.2", etc.
Am I reading the command usage incorrectly?- Hide quoted text -
- Show quoted text -
Continue reading on narkive:
Loading...