Assists administrators in Domain Name System (DNS) management.
Syntax
DnsCmd <ServerName> <Command> [<Command Parameters>]
Parameters
Parameter | Description |
---|---|
ServerName |
IP address or host name on a remote or local DNS server. |
Commands
Command | Description |
---|---|
/info |
Get server information. |
/config |
Reset server or zone configuration. |
/enumzones |
Enumerate zones. |
/statistics |
Query or clear server statistics data. |
/clearcache |
Clear DNS server cache. |
/writebackfiles |
Write back all zone or root-hint datafile(s). |
/startscavenging |
Initiates server scavenging. |
/ipvalidate |
Validate remote DNS servers. |
/resetlistenaddress |
Set server IP address(es) to serve DNS requests. |
/resetforwarders |
Set DNS servers to forward recursive queries. |
/zoneinfo |
View zone information. |
/zoneadd |
Create a new zone on the DNS server. |
/zonedelete |
Delete a zone from the DNS server. |
/zonepause |
Pause a zone. |
/zoneresume |
Resume a zone. |
/zonereload |
Reload zone from its database. |
/zonewriteback |
Write back zone to file. |
/zonerefresh |
Force refresh of secondary zone from master zone. |
/zoneupdatefromds |
Update a DS integrated zone by data from DS. |
/zoneprint |
Display all records in the zone. |
/zoneresettype |
Change zone type. |
/zoneresetsecondaries |
Reset secondary information for a zone. |