Information Technology Reference
In-Depth Information
Table 2.9 DNSCmd command-line options (continued)
Command
Explanation
dnscmd /exportsettings
Creates a text file of all server configuration infor-
mation
dnscmd /info
Displays server information
dnscmd /recordadd
Adds a resource record to a zone
dnscmd /recorddelete
Deletes a resource record from a zone
dnscmd /zoneadd
Creates a new DNS zone
dnscmd /zonedelete
Deletes a DNS zone
dnscmd /zoneexport
Creates a text file of all resource records in the
zone
dnscmd /zoneinfo
Displays zone information
dnscmd /zonerefresh
Forces replication of the master zone to the sec-
ondary zone
Using the DNS Log File
You can configure the DNS server to create a log file that records the following information:
Queries
Notification messages from other servers
Dynamic updates
Content of the question section for DNS query messages
Content of the answer section for DNS query messages
Number of queries this server sends
Number of queries this server has received
Number of DNS requests received over a UDP port
Number of DNS requests received over a TCP port
Number of full packets sent by the server
Number of packets written through by the server and back to the zone
The DNS log appears in systemroot\System32\dns\Dns . log . Because the log is in RTF
format, you must use WordPad or Word to view it.
Once the log file reaches the maximum size, Windows Server 2012 R2 writes over the
beginning of the file. You can change the maximum size of the log. If you increase the size
value, data persists for a longer time period, but the log file consumes more disk space. If
Search WWH ::




Custom Search