text
stringlengths
0
4.23k
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.
/custom
Lists only user-created directory partitions.
<servername>
dnscmd /enumrecords command
Lists the resource records of a specified node in a DNS zone.
Syntax
dnscmd [<servername>] /enumrecords <zonename> <nodename> [/type <rrtype> <rrdata>] [/authority] [/glue] [/additional] [/node | /child | /startchild<childname>] [/continue | /detail]
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.
/enumrecords
Lists resource records in the specified zone.
<zonename>
Specifies the name of the zone to which the resource records belong.
<nodename>
Specifies the name of the node of the resource records.
[/type <rrtype> <rrdata>]
Specifies the type of resource records to be listed and the type of data that is expected. Accepts the values:<rrtype> - Specifies the type of resource records to be listed.<rrdata> - Specifies the type of data that is expected record.
/authority
Includes authoritative data.
/glue
Includes glue data.
/additional
Includes all additional information about the listed resource records.
/node
Lists only the resource records of the specified node.
/child
Lists only the resource records of a specified child domain.
/startchild<childname>
Begins the list at the specified child domain.
/continue
Lists only the resource records with their type and data.
/detail
Lists all information about the resource records.
<servername>
<zonename>
<nodename>
[/type <rrtype> <rrdata>]
<rrtype>
<rrdata>
<childname>
Example
dnscmd /enumrecords test.contoso.com test /additional
dnscmd /enumzones command
Lists the zones that exist on the specified DNS server. The enumzones parameters act as filters on the list of zones. If no filters are specified, a complete list of zones is returned. When a filter is specified, only the zones that meet that filter's criteria are included in the returned list of zones.
Syntax
dnscmd [<servername>] /enumzones [/primary | /secondary | /forwarder | /stub | /cache | /auto-created] [/forward | /reverse | /ds | /file] [/domaindirectorypartition | /forestdirectorypartition | /customdirectorypartition | /legacydirectorypartition | /directorypartition <partitionFQDN>]
Parameters
Parameters
Description