text stringlengths 0 4.23k |
|---|
<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. |
/primary |
Lists all zones that are either standard primary zones or active directory integrated zones. |
/secondary |
Lists all standard secondary zones. |
/forwarder |
Lists zones that forward unresolved queries to another DNS server. |
/stub |
Lists all stub zones. |
/cache |
Lists only the zones that are loaded into the cache. |
/auto-created] |
Lists the zones that were created automatically during the DNS server installation. |
/forward |
Lists forward lookup zones. |
/reverse |
Lists reverse lookup zones. |
/ds |
Lists active directory integrated zones. |
/file |
Lists zones that are backed by files. |
/domaindirectorypartition |
Lists zones that are stored in the domain directory partition. |
/forestdirectorypartition |
Lists zones that are stored in the forest DNS application directory partition. |
/customdirectorypartition |
Lists all zones that are stored in a user-defined application directory partition. |
/legacydirectorypartition |
Lists all zones that are stored in the domain directory partition. |
/directorypartition <partitionFQDN> |
Lists all zones that are stored in the specified directory partition. |
<servername> |
<partitionFQDN> |
Examples |
Example 2: Display a complete list of zones on a DNS server) |
Example 3: Display a list of autocreated zones on a DNS server |
dnscmd /exportsettings command |
Creates a text file that lists the configuration details of a DNS server. The text file is named DnsSettings.txt. It is located in the %systemroot%\system32\dns directory of the server. You can use the information in the file that dnscmd /exportsettings creates to troubleshoot configuration problems or to ensure that you have configured multiple servers identically. |
%systemroot%\system32\dns |
Syntax |
dnscmd [<servername>] /exportsettings |
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. |
<servername> |
dnscmd /info command |
Displays settings from the DNS section of the registry of the specified server HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters. To display zone-level registry settings, use the dnscmd zoneinfo command. |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters |
dnscmd zoneinfo |
Syntax |
dnscmd [<servername>] /info [<settings>] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.