text
stringlengths
0
4.23k
[<seconds>]
[<seconds>]
[0|1]
[0x0|0x1|0x2|0x4|0xFFFFFFFF]
[<hours>]
[0|1]
[<port>]
[<dllpath>]
[0|1]
<RecordValue>
[0|1]
[<seconds>]
Zone-level syntax
Modifies the configuration of the specified zone. The zone name must be specified only for zone-level parameters.
dnscmd /config <parameters>
Parameters
Parameters
Description
<parameter>
Specify a setting, a zone name, and, as an option, a value. Parameter values use this syntax: zonename parameter [value].
/aging <zonename>
Enables or disables scavenging in a specific zone.
/allownsrecordsautocreation <zonename> [value]
Overrides the DNS server's name server (NS) resource record autocreation setting. Name server (NS) resource records that were previously registered for this zone are not affected. Therefore, you must remove them manually if you do not want them.
/allowupdate <zonename>
Determines whether the specified zone accepts dynamic updates.
/forwarderslave <zonename>
Overrides the DNS server /isslave setting.
/forwardertimeout <zonename>
Determines how many seconds a DNS zone waits for a forwarder to respond before trying another forwarder. This value overrides the value that is set at the server level.
/norefreshinterval <zonename>
Sets a time interval for a zone during which no refreshes can dynamically update DNS records in a specified zone.
/refreshinterval <zonename>
Sets a time interval for a zone during which refreshes can dynamically update DNS records in a specified zone.
/securesecondaries <zonename>
Determines which secondary servers can receive zone updates from the primary server for this zone.
<parameter>
zonename parameter [value]
<zonename>
<zonename>
[value]
<zonename>
<zonename>
<zonename>
<zonename>
<zonename>
<zonename>
dnscmd /createbuiltindirectorypartitions command
Creates a DNS application directory partition. When DNS is installed, an application directory partition for the service is created at the forest and domain levels. Use this command to create DNS application directory partitions that were deleted or never created. With no parameter, this command creates a built-in DNS directory partition for the domain.
Syntax
dnscmd [<servername>] /createbuiltindirectorypartitions [/forest] [/alldomains]
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.
/forest
Creates a DNS directory partition for the forest.
/alldomains
Creates DNS partitions for all domains in the forest.
<servername>
dnscmd /createdirectorypartition command
Creates a DNS application directory partition. When DNS is installed, an application directory partition for the service is created at the forest and domain levels. This operation creates additional DNS application directory partitions.
Syntax