Solved

How do I flush the DNS entries on a windows 2003 dns server?

Posted on 2009-07-08
4
722 Views
Last Modified: 2012-06-27
How do I flush the DNS entries on a windows 2003 dns server?
0
Comment
Question by:aramirez-1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:jaynir
ID: 24809898
run
cmd

ipconfig /flushdns

this will flush the DNS.
0
 

Expert Comment

by:MrAltruistic
ID: 24809918
In the actual DNS server, you have to select the zone and remove the A records that you wish to eliminate.
0
 
LVL 13

Expert Comment

by:jaynir
ID: 24809933
If you want to turn off DNS caching you can use net stop dnscache command.

If you just want to clear DNS cache you can also use DNSCMD command that will clear the cache.

GO  to RUN
type CMD
ENTER

then type

DNSCMD /clearcache
0
 
LVL 9

Accepted Solution

by:
abolinhas earned 500 total points
ID: 24811704
In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver cache:

C:\>ipconfig /flushdns

You can also use the command ipconfig /displaydns to view the DNS resolver cache.


Turning off DNS Caching under Microsoft Windows:
If you experience frequent issues with DNS caching under Microsoft Windows, you can disable client-side DNS caching with either of these two commands:

net stop dnscache
sc servername stop dnscache

This will disable DNS caching until the next reboot. To make the change permanent, use the Service Controller tool or the Services tool to set the DNS Client service startup type to Disabled.


Tuning DNS Caching under Microsoft Windows:
You can modify the behavior of the Microsoft Windows DNS caching algorithm by setting two registry entries in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters registry key.
The MaxCacheTtl represents the maximum time that the results of a DNS lookup will be cached. The default value is 86,400 seconds. If you set this value to 1, DNS entries will only be cashed for a single second.
MaxNegativeCacheTtl represents the maximim time that the results of a failed DNS lookup will be cached. The default value is 900 seconds. If you set this value to 0, failed DNS lookups will not be cached.

http://support.microsoft.com/?scid=kb;en-us;318803&x=7&y=13
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question