Tech Support Guy banner
  • IMPORTANT: Only authorized members may reply to threads in this forum due to the complexity of the malware removal process. Authorized members include Malware Specialists and Trainees, Administrators, Moderators, and Trusted Advisors. Regular members are not permitted to reply, and any such posts will be deleted without notice or further explanation. Notice
Status
Not open for further replies.
1 - 4 of 4 Posts

·
Registered
Joined
·
5 Posts
Discussion Starter · #1 ·
Thanks so much for all the help on the thread I posted, I have done all the recommended security measures and have learned so much in the process.

I was curious as to the HOSTS file's functioning. I see that there are two sites with listed HOSTS files to redirect some dubious websites to the localhost IP:
MVPS & hpguru

My question is whether or not it will cause any performance of functioning issues if there are sites repeated within the HOSTS file? I do not have a fast computer and therefore performance is an issue in addition to whether or not it will prevent the file from functioning appropriately.

Thanks again for the information. I appreciate the advice and assistance.

Best,
JP
 

·
Gone but Never Forgotten
Joined
·
17,735 Posts
Hi, Actually, one of the purposes of using custom made entries in a HOSTS file is to allow better access to those sites> the computer knows to look locally for the URL (HOSTS entry) so it speeds things up a bit.

http://www.mvps.org/winhelp2002/hosts.htm

The file described at above site is also good at blocking many ads, parasites etc.

And> If you do have any ill effects from using a custom downloaded HOSTS file (you should be fine with one of those, many people use these)>

You can use this simple utility to change back to the Default (no custom entries will remain in your HOSTS file though!) HOSTS file easily:

It's called Hoster and simply asks you if you would like to change back to the default settings.

http://www.funkytoad.com/download/hoster.zip

You unzip the file to a folder somewhere and double click Hoster.exe to launch it. Follow the prompt. Hoster is to go back to the Default Windows HOSTS file, so you don't need to actually use it until you wish to remove the custom HOSTS file.
 

·
Registered
Joined
·
5 Posts
Discussion Starter · #3 ·
Thanks kindly for the reply. For now, i have just renamed my original HOSTS file to HOSTS.bak, in case I need to change back to it. However, how concerned should I be with the following?
Editors Note: in most cases a large HOSTS file (over 135 kb) tends to slow down the machine. This only occurs in W2000 and XP. Windows 98 and ME are not affected.
I am using a win2k box. Also, do you know what the consequences, if any, are from having sites repeated within the HOSTS file? e.g. - if I copy from MVPS to hpguru and there are numerous (let's say 100+) repititions

Thanks again!

Best,
JP
 

·
Gone but Never Forgotten
Joined
·
17,735 Posts
Hi, I believe you can edit out anything you want to in either HOSTS file after you install one!

http://www.mvps.org/winhelp2002/hosts.htm

See here, down the page where it says:

Creating a HOSTS Editor

Editing the HOSTS File

Quoting from there:

"""You must maintain the proper format or else the entry will be invalid.
Entries are invalid if they contain "http:" or an ending "/" slash.
IP addresses are invalid as HOSTS file entries. (127.0.0.1 123.456.78.9)
In the event you need to rename the file, use the below batch file.
If you wish to disable an entry place a "#" in front of the line.
Each host entry is limited to 255 characters."""

So I would think you could disable dupes that way.

The Host.zip custom file they have for download is a tiny 60kb, so you have room for more without getting to the slowdown size. As far as any harm if there are multiple entries...I cannot say there would or would not be any...I don't think there would but don't see anything concrete about that. Perhaps, they overwrite....or a pop up asks you if you want to replace x with a new x entry?

You can put the # in front of any line to disregard that line.
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top