?
Solved

Sometimes losing DNS when changing ISP's

Posted on 2008-06-25
11
Medium Priority
?
355 Views
Last Modified: 2012-08-14
I have 3 Win XP machines connected to a router, which I connect to one of three ISP's (I'm overseas, so sometimes an ISP is not working very well).   All 3 machines are set up with the LAN to use DHCP to set the IP and to automatically get a DNS server.  All are using ZoneAlarm Security Suite.  This works fine always on 2 machines, and usually on one of the others -- i.e. I can switch ISP's, do the "Repair" on the connection, and then continue working.  

However at times this one machine (and this one only)  will be unable to resolve names tho it has internet connection -- I can't get to any website via DNS.  Sometimes if I disable the LAN and shut down browsers/Skype/... the problem will get resolved when I enable the LAN again.  But oftentimes, that doesn't work.  The only thing left that fixes it is rebooting, which is something I'd rather avoid.

So I'd like to know a way around rebooting when this does happen, or at least to understand the cause of the problem and perhaps some ways to avoid it.  
0
Comment
Question by:BaliDave
[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
  • 6
  • 5
11 Comments
 

Author Comment

by:BaliDave
ID: 21873492
upping points
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 1500 total points
ID: 21878104
You could write a little script/batch file to put on the desktop that will get new connection information and flush all name cache's.

ipconfig  /release
ipconfig  /renew
ipconfig  /flushdns
nbtstat  -R
exit

The ideal answer would be to add a Windows 2003/2008 server running DNS, and add the different ISP's as forwarders.
0
 

Author Comment

by:BaliDave
ID: 21879240
OK, I'll try that next time it happens.  BTW, I usually do a ipconfig /renew in attempting to clear up the problem, but not the others.  Perhaps the /flushdns will do that.

I'll report back when it happens again..  Thanks for the tip.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 77

Expert Comment

by:Rob Williams
ID: 21879449
Let us know how you make out.
--Rob
0
 

Author Comment

by:BaliDave
ID: 21897337
Well sorry to say that didn't work.  DNS is still hung so I'll reboot.  I REALLY don't want to add another machine in my already too complex set up here.  If anyone has any other ideas, please let me know.  

Thanks anyhow.
0
 
LVL 77

Assisted Solution

by:Rob Williams
Rob Williams earned 1500 total points
ID: 21898519
Sorry, no other suggestions.
By the way, the way this is usually handled is to change to a dual WAN port router that supports fail over protection. These units connect to both ISP's and if one is down they automatically route the traffic through the working port. The router has the DNS information for both connections and the PC's just point to the router for DNS. There are quite a few available. Two are the Linksys RV042 and the Netgear FVS124G, both of which are under $200
0
 

Author Comment

by:BaliDave
ID: 21903435
Thanks.  But the new router solution won't work for me -- the problem I have is not that the ISP's die (I have 3 of them by the way), but that they start getting slow/unreliable or unusable with things like Skype.  So I decide when to switch and then just connect one of the three cables to my router, do a repair, and proceed.  (I'm in Indonesia and the internet situation is FAR behind most other places -- the fastest connection I can practically get is 512KB nominally tho often more like 50KB.  Plus it's expensive.)

Anyhow I'll leave this question open for a few more days in hopes of some other ideas.  And I'll keep playing with that machine and see if I can find some magic incantation that'll make it recover DNS capability when this happens.  Thanks for the suggestions tho.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 21903530
You are very welcome, I understand your predicament. Hopefully someone else will have other suggestions.
Good luck with it.
--Rob
0
 

Author Comment

by:BaliDave
ID: 21931685
Well it looks like the solution has to do with disconnecting a Skype phone I have on that machine.  Apparently the driver on that was somehow preventing Windows from getting new DNS service at times (tho not always!?!?).  So disconnecting it and then doing at least the Repair now allows it to restore DNS service and then I reconnect the phone.  

Thanks everyone for the input anyhow.
0
 

Author Closing Comment

by:BaliDave
ID: 31470873
Really the answer as I finally found, was disconnecting the Skype phone, but I think these commands can help others with similar problems.
0
 
LVL 77

Expert Comment

by:Rob Williams
ID: 21932480
Ah! interesting, glad to hear you have it sorted.
Thanks BaliDave.
Cheers !
--Rob
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Resolve DNS query failed errors for Exchange
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

764 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