Internet dropping due to random DNS IP change

My internet connection randomly drops.  I have 6 computers and one voip running on my network.  When the internet drops my DNS is changed from to  The subnet mask doesn't change at  When it does this I can still access my router at but I cannot see anything change with the internal settings.

 The only way for me to correct this is to flushdns and release and renew the IP.  All machines are running XP PRO and the router is a Linksys WRTN330N Gigabit Gaming Router.

Here's the will not do it for all computers at the same time.  My laptop will go down with the new DNS server and the other laptop (siting across the desk from me) will still be surfing just fine.  This will happen regardless of being wired or wireless.

I know it is the DNS IP issue creating the internet drop because I can type in the IP for google and will get google to pop up on my screen.  I just would like to know how to stop it from occuring in the first place.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

maxis2cuteConnect With a Mentor Commented:
if you are sure it is a dns issue and not any other than set the dns in the ip properties of the nic cards.  

from command prompt, type in  netsh interface ip set address name="Local Area Connection" static 192.168.1.XXX

the xxx is the ip address of the computer
pwrBallConnect With a Mentor Commented:
You could just assign the DNS in the tcp/ip settings of each box manually to
Check if there is a firmware upgrade to your router as well from Linksys.
bobbielindAuthor Commented:
If I'm on DHCP will setting a static DNS mess with the router settings?
SMB Security Just Got a Layer Stronger

WatchGuard acquires Percipient Networks to extend protection to the DNS layer, further increasing the value of Total Security Suite.  Learn more about what this means for you and how you can improve your security with WatchGuard today!

No, shouldn't mess up anything.  The static setting will override the dynamic.
Now just remember the idea i gave you can be used for one computer or 10,00000 computers.  all you have to do is cut and paste.  You can use it in a script or keep on a shared drive and just change the first ip address.

Although it may seem more complicated to start, for more than one machine the command prompt method is always the easiest to use.

the command to just change the dns is               add dns "Local Area Connection"
sorry try this command i did not give the full command
netsh interface ip set dns "Local Area Connection" static
bobbielindAuthor Commented:
Thank you very much for your responses.  I will award partial credit to both of you as I used both solutions.  Manually changing worked for my computer and the script workded for the rest of the computers.  

Thanks again for your quick response to this problem.
All Courses

From novice to tech pro — start learning today.