text stringlengths 0 4.23k |
|---|
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. |
<settings> |
Any setting that the info command returns can be specified individually. If a setting is not specified, a report of common settings is returned. |
<servername> |
<settings> |
Example |
Example 4: Display the IsSlave setting from a DNS server |
Example 5: Display the RecursionTimeout setting from a DNS server |
dnscmd /ipvalidate command |
Tests whether an IP address identifies a functioning DNS server or whether the DNS server can act as a forwarder, a root hint server, or a primary server for a specific zone. |
Syntax |
dnscmd [<servername>] /ipvalidate <context> [<zonename>] [[<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. |
<context> |
Specifies the type of test to perform. You can specify any of the following tests:/dnsservers - Tests that the computers with the addresses that you specify are functioning DNS servers./forwarders - Tests that the addresses that you specify identify DNS servers that can act as forwarders./roothints - Tests that the addresses that you specify identify DNS servers that can act as root hint name servers./zonemasters - Tests that the addresses that you specify identify DNS servers that are primary servers for zonename. |
<zonename> |
Identifies the zone. Use this parameter with the /zonemasters parameter. |
<IPaddress> |
Specifies the IP addresses that the command tests. |
<servername> |
<context> |
<zonename> |
<IPaddress> |
Examples |
nscmd dnssvr1.contoso.com /ipvalidate /dnsservers 10.0.0.1 10.0.0.2 |
dnscmd dnssvr1.contoso.com /ipvalidate /zonemasters corp.contoso.com 10.0.0.2 |
dnscmd /nodedelete command |
Deletes all records for a specified host. |
Syntax |
dnscmd [<servername>] /nodedelete <zonename> <nodename> [/tree] [/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. |
<nodename> |
Specifies the host name of the node to delete. |
/tree |
Deletes all the child records. |
/f |
Executes the command without asking for confirmation. |
<servername> |
<zonename> |
<nodename> |
Example |
Example 6: Delete the records from a node |
dnscmd /recordadd command |
Adds a record to a specified zone in a DNS server. |
Syntax |
dnscmd [<servername>] /recordadd <zonename> <nodename> <rrtype> <rrdata> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.