DNS Log You can configure the DNS
server to create a log file that
records the following types of events:
Queries
Notification messages from other
servers
Dynamic updates
Content of the question section for
DNS query message
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 to view it.
You can change the directory and file
name in which the DNS log appears by
adding the following entry to the
registry with the REG_SZ data type:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS
\Parameters\ LogFilePath
Set the value of LogFilePath equal to
the file path and file name where you
want to locate the DNS log.
By default, the maximum file size of
Dns.log is 4 MB. If you want to change
the size, add the following entry to
the registry with the REG_DWORD data
type:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS
\Parameters\ LogFileMaxSize
Set the value of LogFileMaxSize equal
to the desired file size in bytes. The
minimum size is 64 Kb.
Once the log file reaches the maximum
size, Windows 2000 writes over the
beginning of the file. If you make the
value higher, data persists for a
longer time, but the log file consumes
more disk space. If you make the value
smaller, the log file uses less disk
space, but the data persists for a
shorter time.
Caution
Do not leave DNS logging during normal
operation because it consumes both
processing and hard disk resources.
Enable it only when diagnosing and
solving DNS problems.
To configure the server to log DNS
events
1.In the DNS console, click the box next to the server, right-click the
server, and then click Properties.
2.Click the Logging tab, and then select the options you want to log.
Top Of Page
Stopping and Flushing the Cache In
addition to flushing the cache by
using Ipconfig, you can stop and flush
the cache by stopping and starting the
client.
To stop the client
At the command prompt, type the
following: net stop " dns client "
To start the client
At the command prompt, type the
following: net start " dns client "