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. |
<zonename> |
Specifies the zone in which the record resides. |
<nodename> |
Specifies a specific node in the zone. |
<rrtype> |
Specifies the type of record to be added. |
<rrdata> |
Specifies the type of data that is expected. |
<servername> |
<zonename> |
<nodename> |
<rrtype> |
<rrdata> |
Note |
After you add a record, make sure that you use the correct data type and data format. For a list of resource record types and the appropriate data types, see Dnscmd Examples. |
Examples |
dnscmd dnssvr1.contoso.com /recordadd test A 10.0.0.5 |
dnscmd /recordadd test.contoso.com test MX 10 mailserver.test.contoso.com |
dnscmd /recorddelete command |
Deletes a resource record to a specified zone. |
Syntax |
dnscmd [<servername>] /recorddelete <zonename> <nodename> <rrtype> <rrdata> [/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 zone in which the resource record resides. |
<nodename> |
Specifies a name of the host. |
<rrtype> |
Specifies the type of resource record to be deleted. |
<rrdata> |
Specifies the type of data that is expected. |
/f |
Executes the command without asking for confirmation. Because nodes can have more than one resource record, this command requires you to be very specific about the type of resource record that you want to delete. If you specify a data type and you do not specify a type of resource record data, all records with that specific data type for the specified node are deleted. |
<servername> |
<zonename> |
<nodename> |
<rrtype> |
<rrdata> |
Examples |
dnscmd /recorddelete test.contoso.com test MX 10 mailserver.test.contoso.com |
dnscmd /resetforwarders command |
Selects or resets the IP addresses to which the DNS server forwards DNS queries when it cannot resolve them locally. |
Syntax |
dnscmd [<servername>] /resetforwarders <IPaddress> [,<IPaddress>]...][/timeout <timeout>] [/slave | /noslave] |
Parameters |
Parameters |
Description |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.