Solved

DNS Cache

Posted on 2011-02-22
7
401 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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 basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

932 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

13 Experts available now in Live!

Get 1:1 Help Now