text
stringlengths
0
4.23k
/dsdel
Deletes the zone from Azure Directory Domain Services (AD DS).
/f
Runs the command without asking for confirmation.
<servername>
<zonename>
Examples
dnscmd /zoneexport command
Creates a text file that lists the resource records of a specified zone. The zoneexport operation creates a file of resource records for an active directory integrated zone for troubleshooting purposes. By default, the file that this command creates is placed in the DNS directory, which is by default the %systemroot%/System32/Dns directory.
%systemroot%/System32/Dns
Syntax
dnscmd [<servername>] /zoneexport <zonename> <zoneexportfile>
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.
<zoneexportfile>
Specifies the name of the file to create.
<servername>
<zonename>
<zoneexportfile>
Examples
dnscmd /zoneinfo
Displays settings from the section of the registry of the specified zone: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters\Zones\<zonename>
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters\Zones\<zonename>
Syntax
dnscmd [<servername>] /zoneinfo <zonename> [<setting>]
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.
<setting>
You can individually specify any setting that the zoneinfo command returns. If you don't specify a setting, all settings are returned.
<servername>
<zonename>
<setting>
Remarks
To display server-level registry settings, use the /info command.
To see a list of settings that you can display with this command, see the /config command.
Examples
Example 11: Display RefreshInterval setting from the registry
Example 12: Display Aging setting from the registry
dnscmd /zonepause command
Pauses the specified zone, which then ignores query requests.
Syntax
dnscmd [<servername>] /zonepause <zonename>
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.