text
stringlengths
0
4.23k
dnscmd dnssvr1.contoso.com /zonereload test.contoso.com
dnscmd /zoneresetmasters command
Resets the IP addresses of the primary server that provides zone transfer information to a secondary zone.
Syntax
dnscmd [<servername>] /zoneresetmasters <zonename> [/local] [<IPaddress> [<IPaddress>]...]
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>
Specifies the name of the zone to be reset.
/local
Sets a local master list. This parameter is used for active directory integrated zones.
<IPaddress>
The IP addresses of the primary servers of the secondary zone.
<servername>
<zonename>
<IPaddress>
Remarks
Examples
dnscmd dnssvr1.contoso.com /zoneresetmasters test.contoso.com 10.0.0.1
dnscmd dnssvr1.contoso.com /zoneresetmasters test.contoso.com /local
dnscmd /zoneresetscavengeservers command
Changes the IP addresses of the servers that can scavenge the specified zone.
Syntax
dnscmd [<servername>] /zoneresetscavengeservers <zonename> [/local] [<IPaddress> [<IPaddress>]...]
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>
Specifies the zone to scavenge.
/local
Sets a local master list. This parameter is used for active directory integrated zones.
<IPaddress>
Lists the IP addresses of the servers that can perform the scavenge. If this parameter is omitted, all servers that host this zone can scavenge it.
<servername>
<zonename>
<IPaddress>
Remarks
By default, all servers that host a zone can scavenge that zone.
If a zone is hosted on more than one DNS server, you can use this command to reduce the number of times a zone is scavenged.
Scavenging must be enabled on the DNS server and zone that is affected by this command.
Examples
dnscmd dnssvr1.contoso.com /zoneresetscavengeservers test.contoso.com 10.0.0.1 10.0.0.2
dnscmd /zoneresetsecondaries command
Specifies a list of IP addresses of secondary servers to which a primary server responds when it is asked for a zone transfer.
Syntax
dnscmd [<servername>] /zoneresetsecondaries <zonename> {/noxfr | /nonsecure | /securens | /securelist <securityIPaddresses>} {/nonotify | /notify | /notifylist <notifyIPaddresses>}
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.