Solved

DNS Cache

Posted on 2011-02-22
7
418 Views
Last Modified: 2012-06-27
If you have 3 DNS entries and the top two fail, how long will it take for the top address to be tried again? Is there a way to adjust this besides rebooting?

Thanks
0
Comment
Question by:progjm
  • 3
  • 3
7 Comments
 
LVL 20

Expert Comment

by:woolnoir
ID: 34953690
in windows 7 ?
0
 
LVL 1

Author Comment

by:progjm
ID: 34953707
Yes
0
 
LVL 20

Expert Comment

by:woolnoir
ID: 34953756
I believe that from windows xp service pack 2 and onwards there is a timeout method. If a primary server doesnt respond it is marked as 'dead' for 15 minutes during which time the secondary is consulted. After the 15 minutes it tries the primary again. This can be adjusted with a reg change - i can find it if you want, ive never had the need to change.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 1

Author Comment

by:progjm
ID: 34953784
I was trying to find it also and couldn't, probably just blind lol
0
 
LVL 1

Expert Comment

by:Medfly
ID: 34953832
Are you are talking about the local DNS cache?.. if you execute IPCONFIG /flushdns from a command prompt, it will purge the local DNS cache and force the client to obtain a fresh address from the DNS server.  The time the DNS entry will remain in the local DNS cache is set by the TTL value which is set at the DNS server.

To see all the entries in the local DNS cache you can type IPCONFIG /displaydns from a command prompt.  Then ... if you just want to check a specific entry... use the IP or URL from the list that you want to test.

Here is a link to some additional info that may address your question further:
http://www.helpwithwindows.com/WindowsXP/tune-24.html
0
 
LVL 1

Author Comment

by:progjm
ID: 34953921
flushdns didnt work, only rebooting or disabling the network interface. It did however start using the first address after some time but I am trying to find out what that time is. The addresses are statically assigned and dont recieve any data from /displaydns. I appreciate the link, good info to try there
0
 
LVL 20

Accepted Solution

by:
woolnoir earned 500 total points
ID: 34953952
ProgJM i think this is the value you need

http://support.microsoft.com/kb/320760/en-us

its for XP, but AFAIK it works on windows 7 too.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

828 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