text stringlengths 0 4.23k |
|---|
Specifies the type of zone to create. Specifying a zone type of /forwarder or /dsforwarder creates a zone that performs conditional forwarding. Each zone type has different required parameters:/dsprimary - Creates an active directory integrated zone./primary /file <filename> - Creates a standard primary zone, and specifies the name of the file that will store the zone information./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. |
<FQDN> |
Specifies FQDN of the directory partition. |
/domain |
Stores the zone on the domain directory partition. |
/enterprise |
Stores the zone on the enterprise directory partition. |
/legacy |
Stores the zone on a legacy directory partition. |
<servername> |
<zonename> |
<zonetype> |
<filename> |
<masterIPaddress> [<masterIPaddress>...] |
<masterIPaddress> [<masterIPaddress>...] |
<filename> |
<masterIPaddress> [<masterIPaddress>...] |
<masterIPaddress> [<masterIPaddress>] |
<filename> |
<FQDN> |
Examples |
dnscmd dnssvr1.contoso.com /zoneadd test.contoso.com /dsprimary |
dnscmd dnssvr1.contoso.com /zoneadd secondtest.contoso.com /secondary 10.0.0.2 |
dnscmd /zonechangedirectorypartition command |
Changes the directory partition on which the specified zone resides. |
Syntax |
dnscmd [<servername>] /zonechangedirectorypartition <zonename> {[<newpartitionname>] | [<zonetype>]} |
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> |
The FQDN of the current directory partition on which the zone resides. |
<newpartitionname> |
The FQDN of the directory partition that the zone will be moved to. |
<zonetype> |
Specifies the type of directory partition that the zone will be moved to. |
/domain |
Moves the zone to the built-in domain directory partition. |
/forest |
Moves the zone to the built-in forest directory partition. |
/legacy |
Moves the zone to the directory partition that is created for pre active directory domain controllers. These directory partitions are not necessary for native mode. |
<servername> |
<zonename> |
<newpartitionname> |
<zonetype> |
dnscmd /zonedelete command |
Deletes a specified zone. |
Syntax |
dnscmd [<servername>] /zonedelete <zonename> [/dsdel] [/f] |
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 deleted. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.