posts - 598 , comments - 849 , trackbacks - 247

My Links



Lance Robinson

Create Your Badge

Lance Robinson is a software engineer in Durham, Chapel Hill, Raleigh, and surrounding areas. More about Lance.


Tag Cloud


Post Categories



Noteworthy Stuff

Popular Posts

Large Hosts Files

Its hard to find much technical information on the Windows Hosts file, beyond what is pretty much common knowledge.  Some questions I had recently that were hard to find the answers to:


Q.  How big can the hosts file be?
A.  I still haven’t found an answer to this one, but apparently pretty darn big.  The Hosts file is over 600Kb and still growing (it is designed to block certain malware related sites).

Q.  How long can a single line in a hosts file be?
A.  It seems the answer to this question is 256 bytes!

Q.  Can I list an ip address more than once in the hosts file and will that cause any problems?
A.  You can list the same ip address as many times as you like in the hosts file without any problems.  In fact, I’d recommend this technique over long lists in the same line for readability purposes too.

Technorati Tags:

Print | posted on Monday, September 27, 2010 12:39 PM | Filed Under [ General ]


No comments posted yet.
Post A Comment

Powered by: