Solved

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

Posted on 2009-07-08
4
671 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now