MCSA/MCSE Exam 70-292: Managing and Maintaining a Windows Server 2003 Environment for an MCSE Certified on Windows 2000 Study Guide

Microsoft has provided two new DNS management tools for Windows Server 2003: dnscmd and dnslint. As well, the ever-reliable nslookup command is still an important part of any DNS administrator s tool kit.
This dnscmd command can be used to display and change the properties of DNS servers, zones and resource records. The dnscmd is an enhanced version of the dnsstat command. dnscmd has the following general syntax:
dnscmd <i class="emphasis">ServerName Command </i>[<i class="emphasis">Command Parameters</i>]
The ServerName placeholder is used to specify the DNS server that you wish to manage by IP address, FQDN or host name. If the ServerName is not supplied, the command will be processed on the local server. The following commands are available for use with the dnscmd command:
dnscmd /ageallrecords
dnscmd /clearcache
dnscmd /config
dnscmd /createbuiltindirectorypartitions
dnscmd /createdirectorypartition
dnscmd /deletedirectorypartition
dnscmd /directorypartitioninfo
dnscmd /enlistdirectorypartition
dnscmd /enumdirectorypartitions
dnscmd /enumrecords
dnscmd /enumzones
dnscmd /info
dnscmd /nodedelete
dnscmd /recordadd
dnscmd /recorddelete
dnscmd /resetforwarders
dnscmd /resetlistenaddresses
dnscmd /startscavenging
dnscmd /statistics
dnscmd /unenlistdirectorypartition
dnscmd /writebackfiles
dnscmd /zoneadd
dnscmd /zonechangedirectorypartition
dnscmd /zonedelete
dnscmd /zoneexport
dnscmd /zoneinfo
dnscmd /zonepause
dnscmd /zoneprint
dnscmd /zoneresettype
dnscmd /zonerefresh
dnscmd /zonereload
dnscmd /zoneresetmasters
dnscmd /zoneresetscavengeservers
dnscmd /zoneresetsecondaries
dnscmd /zoneresume
dnscmd /zoneupdatefromds
dnscmd /zonewriteback
The dnscmd /ageallrecords command is used to set the time stamp on all resource records to the current time and uses the following syntax:
dnscmd [<i class="emphasis">ServerName</i>] /ageallrecords <i class="emphasis">ZoneName NodeName</i> [/tree][/f]
Table A.39 details the parameters associated...