• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1983
  • Last Modified:

Update Hosts File Without Browser Restart.

Hello All,

I was wondering if anyone know how to cause your browser to reconize host files changes without having to restart the entire browser.

Is there a registry tweak, can you code something (C#, Java, C++) dosent matter to me.


Thanks,

Matt
0
maclema
Asked:
maclema
  • 2
  • 2
  • 2
  • +2
3 Solutions
 
fostejoCommented:
maclema,

What O/S & Browser are you using? - XP & IE 6 certainly take notice of new entries in the Hosts file without having to restart the browser..

cheers,
0
 
maclemaAuthor Commented:
I am using XP running Firefox 1.5

Is there a way to force IE to update instantly without having to restart the browser?

0
 
war1Commented:
Greetings, maclema !

Browser should recognize HOSTS file changes if you close and reopen the browser.  You may need to clear the DNS cache.  Go to Start > Run and type ipconfig /flushdns

Best wishes!
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
jamroc2000Commented:
No. Reboot required.
0
 
scrathcyboyCommented:
"Is there a way to force IE to update instantly without having to restart the browser?"
IE cant even handle changes to its own Tools Options without a browser restart.
So the answer to this question is NO.  IE is a very badly designed, antiquated, web browser riddled with security holes, it is about as bad as swiss cheese, if you know what I mean.
0
 
fostejoCommented:
scrathcyboy,

"IE cant even handle changes to its own Tools Options without a browser restart."
That depends upon the actual options changed - some do and some don't require IE to restart.

On just testing with XPSP2,
IE6:  alterations to the Hosts file were immediately recognised.
FireFox (version 1, not 1.5 however): Firefox had to be restarted to recognise the changes.

cheers,
0
 
war1Commented:
maclema,

We have not heard from you in awhile. Did any comment help you solve your problem? Do you have any more question? If an Expert helped you, please accept his/her answer above with an excellent or good grade.

Thanks, war1
0
 
maclemaAuthor Commented:
Hey guys, sorry I took so long to accept, completly forgot about this question.

ipconfig /flusdns works sometimes not others, IE sometimes reconizes the ipconfig /flushdns.

I still have not found anything consistant. Will let you know if I do.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now