.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Clearing/Editing Internet explorer DNS cache

Posted By: BK Komal     Posted Date: November 04, 2009    Points:2   Category :ASP.Net
I am using internet IE 7, IE 8

My application in running in dns fail over environment with primary and back up server. As the primary server is down, failover changes to the secondary server after 2 - 3 minutes.

But the problem is, the current opened page in IE is still sending requests to the primary server due to dns caching, which stores the IP of the primary server for default 30 minutes) and hanged.

This problem can be solved if we can clear or edit the dns cache with C# ASP.Net coding.

Thanks in advance for replying.

Author: Rahul             
Posted Date: November 04, 2009     Points: 5   


Using windows api you can flush DNS cache..

Check out this article for the code


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend