text
stringlengths
0
4.23k
<zonename>
Specifies the name of the zone that will have its secondary servers reset.
/local
Sets a local master list. This parameter is used for active directory integrated zones.
/noxfr
Specifies that no zone transfers are allowed.
/nonsecure
Specifies that all zone transfer requests are granted.
/securens
Specifies that only the server that is listed in the name server (NS) resource record for the zone is granted a transfer.
/securelist
Specifies that zone transfers are granted only to the list of servers. This parameter must be followed by an IP address or addresses that the primary server uses.
<securityIPaddresses>
Lists the IP addresses that receive zone transfers from the primary server. This parameter is used only with the /securelist parameter.
/nonotify
Specifies that no change notifications are sent to secondary servers.
/notify
Specifies that change notifications are sent to all secondary servers.
/notifylist
Specifies that change notifications are sent to only the list of servers. This command must be followed by an IP address or addresses that the primary server uses.
<notifyIPaddresses>
Specifies the IP address or addresses of the secondary server or servers to which change notifications are sent. This list is used only with the /notifylist parameter.
<servername>
<zonename>
<securityIPaddresses>
<notifyIPaddresses>
Remarks
Examples
dnscmd dnssvr1.contoso.com /zoneresetsecondaries test.contoso.com /noxfr /nonotify
dnscmd dnssvr1.contoso.com /zoneresetsecondaries test.contoso.com /securelist 11.0.0.2
dnscmd /zoneresettype command
Changes the type of the zone.
Syntax
dnscmd [<servername>] /zoneresettype <zonename> <zonetype> [/overwrite_mem | /overwrite_ds]
Parameters
Parameters
Description
<servername>
Specifies the DNS server to manage, represented by IP address, FQDN, or host name. If this parameter is omitted, the local server is used.
<zonename>
Identifies the zone on which the type will be changed.
<zonetype>
Specifies the type of zone to create. Each type has different required parameters, including:/dsprimary - Creates an active directory integrated zone./primary /file <filename> - Creates a standard primary zone./secondary <masterIPaddress> [,<masterIPaddress>...] - Creates a standard secondary zone./stub <masterIPaddress>[,<masterIPaddress>...] /file <filename> - Creates a file-backed stub zone./dsstub <masterIPaddress>[,<masterIPaddress>...] - Creates an active directory integrated stub zone./forwarder <masterIPaddress[,<masterIPaddress>]... /file<filename> - Specifies that the created zone forwards unresolved queries to another DNS server./dsforwarder - Specifies that the created active directory integrated zone forwards unresolved queries to another DNS server.
/overwrite_mem
Overwrites DNS data from data in AD DS.
/overwrite_ds
Overwrites existing data in AD DS.
<servername>
<zonename>
<zonetype>
<filename>
<masterIPaddress> [,<masterIPaddress>...]
<masterIPaddress>[,<masterIPaddress>...]
<filename>
<masterIPaddress>[,<masterIPaddress>...]
<masterIPaddress[,<masterIPaddress>]
<filename>