Dnscmd command in Windows Server 2008

This article explain about Dnscmd command in Windows Server 2008.
  • 3331


Dnscmd command is used for managing DNS servers. This command is very useful in scripting batch files to help automate routine DNS management tasks or to perform simple unattended setup and configuration of new DNS server on network. Syntax used for Dnscmd in Windows Server 2008 is given below.


dnscmd <ServerName> <command> [<command parameter>]

Parameters For Dnscmd

Parameter Description
<ServerName> Defines the IP address or host name of a remote or local DNS server.

Commands Of Dnscmd

Command Description
dnscmd /ageallrecords Sets the correct time on all the time stamps in a zone.
dnscmd /cleaecache Clears the DNS server cache.
dnscmd /config Resets the DNS server or remote configuration.
dnscmd /info Gets server information.
dnscmd /ipvalidate Validates remote DNS server.

Ask Your Question

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.