text
stringlengths
0
4.23k
/defaultagingstate[0|1]
Determines whether the DNS scavenging feature is enabled by default on newly created zones. Accepts the values:0 - Disables scavenging. This is the default setting.1 - Enables scavenging.
/defaultnorefreshinterval[0x1-0xFFFFFFFF|0xA8]
Sets a period of time in which no refreshes are accepted for dynamically updated records. Zones on the server inherit this value automatically.To change the default value, type a value in the range of 0x1-0xFFFFFFFF. The default value from the server is 0xA8.
/defaultrefreshinterval [0x1-0xFFFFFFFF|0xA8]
Sets a period of time that is allowed for dynamic updates to DNS records. Zones on the server inherit this value automatically.To change the default value, type a value in the range of 0x1-0xFFFFFFFF. The default value from the server is 0xA8.
/disableautoreversezones [0|1]
Enables or disables the automatic creation of reverse lookup zones. Reverse lookup zones provide resolution of Internet Protocol (IP) addresses to DNS domain names. Accepts the values:0 - Enables the automatic creation of reverse lookup zones. This is the default setting.1 - Disables the automatic creation of reverse lookup zones.
/disablensrecordsautocreation [0|1]
Specifies whether the DNS server automatically creates name server (NS) resource records for zones that it hosts. Accepts the values:0 - Automatically creates name server (NS) resource records for zones that the DNS server hosts.1 - Doesn't automatically create name server (NS) resource records for zones that the DNS server hosts.
/dspollinginterval [0-30]
Specifies how often the DNS server polls AD DS for changes in active directory integrated zones.
/dstombstoneinterval [1-30]
The amount of time in seconds to retain deleted records in AD DS.
/ednscachetimeout [3600-15724800]
Specifies the number of seconds that extended DNS (EDNS) information is cached. The minimum value is 3600, and the maximum value is 15,724,800. The default value is 604,800 seconds (one week).
/enableednsprobes [0|1]
Enables or disables the server to probe other servers to determine if they support EDNS. Accepts the values:0 - Disables active support for EDNS probes.1 - Enables active support for EDNS probes.
/enablednssec [0|1]
Enables or disables support for DNS Security Extensions (DNSSEC). Accepts the values:0 - Disables DNSSEC.1 - Enables DNSSEC.
/enableglobalnamessupport [0|1]
Enables or disables support for the GlobalNames zone. The GlobalNames zone supports resolution of single-label DNS names across a forest. Accepts the values:0 - Disables support for the GlobalNames zone. When you set the value of this command to 0, the DNS Server service does not resolve single-label names in the GlobalNames zone.1 - Enables support for the GlobalNames zone. When you set the value of this command to 1, the DNS Server service resolves single-label names in the GlobalNames zone.
/enableglobalqueryblocklist [0|1]
Enables or disables support for the global query block list that blocks name resolution for names in the list. The DNS Server service creates and enables the global query block list by default when the service starts the first time. To view the current global query block list, use the dnscmd /info /globalqueryblocklist command. Accepts the values:0 - Disables support for the global query block list. When you set the value of this command to 0, the DNS Server service responds to queries for names in the block list.1 - Enables support for the global query block list. When you set the value of this command to 1, the DNS Server service does not respond to queries for names in the block list.
/eventloglevel [0|1|2|4]
Determines which events are logged in the DNS server log in Event Viewer. Accepts the values:0 - Logs no events.1 - Logs only errors.2 - Logs only errors and warnings.4 - Logs errors, warnings, and informational events. This is the default setting.
/forwarddelegations [0|1]
Determines how the DNS server handles a query for a delegated subzone. These queries can be sent either to the subzone that is referred to in the query or to the list of forwarders that is named for the DNS server. Entries in the setting are used only when forwarding is enabled. Accepts the values:0 - Automatically sends queries that refer to delegated subzones to the appropriate subzone. This is the default setting.1 - Forwards queries that refer to the delegated subzone to the existing forwarders.
/forwardingtimeout [<seconds>]
Determines how many seconds (0x1-0xFFFFFFFF) a DNS server waits for a forwarder to respond before trying another forwarder. The default value is 0x5, which is 5 seconds.
/globalneamesqueryorder [0|1]
Specifies whether the DNS Server service looks first in the GlobalNames zone or local zones when it resolves names. Accepts the values:0 - The DNS Server service attempts to resolve names by querying the GlobalNames zone before it queries the zones for which it is authoritative.1 - The DNS Server service attempts to resolve names by querying the zones for which it is authoritative before it queries the GlobalNames zone.
/globalqueryblocklist[[<name> [<name>]...]
Replaces the current global query block list with a list of the names that you specify. If you do not specify any names, this command clears the block list. By default, the global query block list contains the following items:isatapwpadThe DNS Server service can remove either or both of these names when it starts the first time, if it finds these names in an existing zone.
/isslave [0|1]
Determines how the DNS server responds when queries that it forwards receive no response. Accepts the values:0 - Specifies that the DNS server is not a subordinate. If the forwarder does not respond, the DNS server attempts to resolve the query itself. This is the default setting.1 - Specifies that the DNS server is a subordinate. If the forwarder does not respond, the DNS server terminates the search and sends a failure message to the resolver.
/localnetpriority [0|1]
Determines the order in which host records are returned when the DNS server has multiple host records for the same name. Accepts the values:0 - Returns the records in the order in which they are listed in the DNS database.1 - Returns the records that have similar IP network addresses first. This is the default setting.
/logfilemaxsize [<size>]
Specifies the maximum size in bytes (0x10000-0xFFFFFFFF) of the Dns.log file. When the file reaches its maximum size, DNS overwrites the oldest events. The default size is 0x400000, which is 4 megabytes (MB).
/logfilepath [<path+logfilename>]
Specifies the path of the Dns.log file. The default path is %systemroot%\System32\Dns\Dns.log. You can specify a different path by using the format path+logfilename.
/logipfilterlist <IPaddress> [,<IPaddress>...]
Specifies which packets are logged in the debug log file. The entries are a list of IP addresses. Only packets going to and from the IP addresses in the list are logged.
/loglevel [<eventtype>]
Determines which types of events are recorded in the Dns.log file. Each event type is represented by a hexadecimal number. If you want more than one event in the log, use hexadecimal addition to add the values, and then enter the sum. Accepts the values:0x0 - The DNS server does not create a log. This is the default entry.0x10 - Logs queries and notifications.0x20 - Logs updates.0xFE - Logs nonquery transactions.0x100 - Logs question transactions.0x200 - Logs answers.0x1000 - Logs send packets.0x2000 - Logs receive packets.0x4000 - Logs User Datagram Protocol (UDP) packets.0x8000 - Logs Transmission Control Protocol (TCP) packets.0xFFFF - Logs all packets.0x10000 - Logs active directory write transactions.0x20000 - Logs active directory update transactions.0x1000000 - Logs full packets.0x80000000 - Logs write-through transactions.
/maxcachesize
Specifies the maximum size, in kilobytes (KB), of the DNS server s memory cache.
/maxcachettl [<seconds>]
Determines how many seconds (0x0-0xFFFFFFFF) a record is saved in the cache. If the 0x0 setting is used, the DNS server doesn't cache records. The default setting is 0x15180 (86,400 seconds or 1 day).