Quickly editing your hosts file
Thanks to Adrian Lynch (who may be blogging this soon) here is a quick way to edit your hosts files for windows.
Open up notepad and enter the following text:
ipconfig /flushdns
Save this as hosts.bat into your \windows\system32 folder. Then you can quickly edit your hosts file by clicking start | run and enter 'hosts' this will open up your hosts file. A even quicker way is to press the Windows key and then press 'R' and enter 'hosts'.
Kudos to Adrian for pointing this out to me.





http://www.adrianlynch.co.uk/post.cfm?postID=15
I was also wondering if flushing the DNS cache was of any use. I suppose it can't hurt to do it.
every lookup, so they are always fresh. Your browser may cache them (Internet Explorer), but that is about it. The Flush DNS
option is really only used if you want to blow away your cache for your primary and secondary name server on your TCP/IP stack.