Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring DNS to use WINS with DNSCMD

Status
Not open for further replies.

wchull

MIS
Jun 14, 2001
93
US
We have a primary zone setup in our Microsoft Windows 2003 DNS that is is configured to use WINS to resolve names not found by querying the DNS namespace. To configure this with the MMC we select the zone properties, select the WINS tab and check the "Use WINS forward lookup", ckeck the "do not replaced this record" and we specify the IP address of the WINS server. My question is this....

Is there a command line command that I can execute to replace the IP address of the WINS server with a different Address? I've searched the internet and so far I've been unable to find any command line utility line DNSCMD that will allow me t change the IP address. If such a command exists, can someone please provide me with the name of the utility and an example of the syntax?
 
Got an answer from another site so I'm posting the solution here too.

To delete existing WINS records use:
dnscmd servername /recorddelete zonename @ WINS /f
You can leave /f switch out and you will be prompted to delete each record separately.

To create WINS records use:
dnscmd servername /recordadd zonename @ WINS 0 0 0 "IPWINSServer1" "IPWINSServer2"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top