Author Topic: Tweak DNS for faster access in XP.  (Read 43800 times)

0 Members and 1 Guest are viewing this topic.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33374
  • malware fighter
Tweak DNS for faster access in XP.
« on: October 19, 2005, 09:46:06 AM »
Hello forum folk,

There are a lot of myths about hosts files and DNS caching. Read this to open a discussion: http://www.oreillynet.com/pub/a/network/excerpt/winxphacks_chap1/index1.html?page=3. Some say working with hosts files and programs like hostess, or host manager is outdated security. Some check their host files against manipulating spyware, for instance Spybot S&D does. Who is right, and why?

Comments please,

polonus

Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline Mastertech

  • Sr. Member
  • ****
  • Posts: 282
    • Optimize Guides
Re: Tweak DNS for faster access in XP.
« Reply #1 on: October 19, 2005, 10:28:53 AM »
The DNS Error Caching Tweak is effective but there is a much easier way to do it. Just use: TCP/IP Optimizer. It will adjust this setting for you.

Hosts files are completely unnecessary for performance or to block spyware. There is much more effective protection such as Spyware Blaster and simply installing SP2 if you have XP ect... DNS Caching will give you the best performance benefit automatically.

Spybot has a hosts file option but it is not installed by default and I wouldn't recommend doing it, the immunize feature is more effective.

Offline polonus

  • Avast Überevangelist
  • Probably Bot
  • *****
  • Posts: 33374
  • malware fighter
Re: Tweak DNS for faster access in XP.
« Reply #2 on: October 19, 2005, 11:12:28 AM »
Hi Mastertech,

Which is so for XP and XP Pro, but not for people running updated older versions like Win 98 SE unofficial updated version. Lots of people use these on older machines in the second and third world, and they want to be well protected as well.
Also some server types use hosts files. A story is right, completely right, and partly right. Why do people still make updates for hostfiles, why there are block files around, when there is no need for it or when it is outdated security?

greets,

polonus
Cybersecurity is more of an attitude than anything else. Avast Evangelists.

Use NoScript, a limited user account and a virtual machine and be safe(r)!

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67247
Re: Tweak DNS for faster access in XP.
« Reply #3 on: October 19, 2005, 12:44:45 PM »
Are you saying that Host Manager is not only outdated security but even a resource hogger?
I know that some redirections of Host Manager are checked by SpyBot and Ad-aware as being hijacks and they remove them but, if it is not that useful (secure and resource helper), why do some of us (users) say it's a good idea using a Host file manager?

I know Eddy is against of this  8)
The best things in life are free.

Offline Mastertech

  • Sr. Member
  • ****
  • Posts: 282
    • Optimize Guides
Re: Tweak DNS for faster access in XP.
« Reply #4 on: October 19, 2005, 01:41:10 PM »
Quote
Which is so for XP and XP Pro, but not for people running updated older versions like Win 98 SE unofficial updated version. Lots of people use these on older machines in the second and third world, and they want to be well protected as well.
Good question. The single biggest threat to just about every version of Windows is MSJVM. Everyone needs to uninstall MSJVM immediately and use Sun's Java instead. The reason people think they need a Hosts file is because they are not removing the biggest security hole in IE = MSJVM. For ActiveX protection use Spyware Blaster it works in all versions of Windows including 98, so does Spybot's immunize feature. For pop-up blocking on these machines use the Google Toolbar. Don't forget all the Windows Security updates and finally an AV like Avast! ;)

Quote
Also some server types use hosts files. A story is right, completely right, and partly right. Why do people still make updates for hostfiles, why there are block files around, when there is no need for it or when it is outdated security?
Hosts files have some rudimentary uses with setting up LANs. I don't know why so many people use and recommend Hosts files. Usually because they think they need them. Spyware Blaster provides "block protection" but it is much more effective to remove the security exploit to begin with, like uninstalling MSJVM!

Quote
Are you saying that Host Manager is not only outdated security but even a resource hogger?
Both, if you never get infected with any spyware why do you need a hosts file? That question answers itself.

Offline szc

  • Avast Evangelist
  • Starting Graphoman
  • ***
  • Posts: 6957
Re: Tweak DNS for faster access in XP.
« Reply #5 on: October 19, 2005, 04:59:21 PM »
Quote
Which is so for XP and XP Pro, but not for people running updated older versions like Win 98 SE unofficial updated version. Lots of people use these on older machines in the second and third world, and they want to be well protected as well.
Good question. The single biggest threat to just about every version of Windows is MSJVM. Everyone needs to uninstall MSJVM immediately and use Sun's Java instead. The reason people think they need a Hosts file is because they are not removing the biggest security hole in IE = MSJVM. For ActiveX protection use Spyware Blaster it works in all versions of Windows including 98, so does Spybot's immunize feature. For pop-up blocking on these machines use the Google Toolbar. Don't forget all the Windows Security updates and finally an AV like Avast! ;)

Quote
Also some server types use hosts files. A story is right, completely right, and partly right. Why do people still make updates for hostfiles, why there are block files around, when there is no need for it or when it is outdated security?
Hosts files have some rudimentary uses with setting up LANs. I don't know why so many people use and recommend Hosts files. Usually because they think they need them. Spyware Blaster provides "block protection" but it is much more effective to remove the security exploit to begin with, like uninstalling MSJVM!

Quote
Are you saying that Host Manager is not only outdated security but even a resource hogger?
Both, if you never get infected with any spyware why do you need a hosts file? That question answers itself.

Unbelievable easy to understand and you Mastertech explained it in a wonderful and easiest possible way. Thanks for joining these forums pal, we sure need people like you in here ! What took you so long to come in here ?  ;D  ;D  ;D

Also, I wanna point people's attention to this thread started by Mastertech:

http://forum.avast.com/index.php?topic=16975.0

Wonderful web site ! Great work Andrew !  ;)
MB: GIGABYTE GA-Z77X-UD3H Intel 7 Series  - LGA1155, CPU: Intel Core i5-3570K - Quad Core, 3.40GHz (3.80GHz Max Turbo), CPU COOLER: Cooler Master Hyper 212 EVO Direct Heat Pipe R2, RAM: 16 GB Kingston HyperX Blu DDR3, VIDEO CARD: Galaxy GeForce GTX 560 Ti - 1GB, GDDR5, POWER SUPPLY: Corsair Enthusiast Series TX750 V2 - 750 Watts, HD: Seagate Barracuda - 2TB, 7200RPM, 64MB, SATA 6Gb/s

Offline Umath

  • Sr. Member
  • ****
  • Posts: 204
Re: Tweak DNS for faster access in XP.
« Reply #6 on: October 19, 2005, 05:35:29 PM »
The DNS Error Caching Tweak is effective but there is a much easier way to do it. Just use: TCP/IP Optimizer. It will adjust this setting for you.

Is this compatible with apps such as Web Shield?

I know Eddy is against of this  8)

I am not a tech literate but I like reading discussions (not "arguments," of course. ;)).  Let's see. 8)

Offline Mastertech

  • Sr. Member
  • ****
  • Posts: 282
    • Optimize Guides
Re: Tweak DNS for faster access in XP.
« Reply #7 on: October 19, 2005, 06:02:13 PM »
Quote
Wonderful web site ! Great work Andrew !
;D

Quote
Is this compatible with apps such as Web Shield?
Sure, the TCP/IP Optimizer merely adjust your TCP/IP network related settings to more optimal values. It has nothing to do with Web Shield. It also does not run in memory. You run the utility one time.

Offline szc

  • Avast Evangelist
  • Starting Graphoman
  • ***
  • Posts: 6957
Re: Tweak DNS for faster access in XP.
« Reply #8 on: October 19, 2005, 06:06:57 PM »
Exactly... change some settings inside the tcpip.sys and they stay permanent... of course until you decide to run that utility again and revert to some other or old settings...
MB: GIGABYTE GA-Z77X-UD3H Intel 7 Series  - LGA1155, CPU: Intel Core i5-3570K - Quad Core, 3.40GHz (3.80GHz Max Turbo), CPU COOLER: Cooler Master Hyper 212 EVO Direct Heat Pipe R2, RAM: 16 GB Kingston HyperX Blu DDR3, VIDEO CARD: Galaxy GeForce GTX 560 Ti - 1GB, GDDR5, POWER SUPPLY: Corsair Enthusiast Series TX750 V2 - 750 Watts, HD: Seagate Barracuda - 2TB, 7200RPM, 64MB, SATA 6Gb/s

Offline Umath

  • Sr. Member
  • ****
  • Posts: 204
Re: Tweak DNS for faster access in XP.
« Reply #9 on: October 20, 2005, 09:21:38 PM »
Then, it is a setting utility or a tweak app, which only optimizes native function of Windows.  Thanx for the explanation.

Unfortunately, the effect of prefetch function was not obvious on my system somehow but this one was a hit: it dramatically increased my connection speed.  I thought it was quick enough but it seems that I hadn't got what I had paid for.  Thanx for introducing this app.  ;)

Offline rdsu

  • Avast Evangelist
  • Poster
  • ***
  • Posts: 534
  • ...
Re: Tweak DNS for faster access in XP.
« Reply #10 on: October 20, 2005, 09:59:22 PM »
Avast Free Antivirus: Web Shield & Home Network Security.

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Tweak DNS for faster access in XP.
« Reply #11 on: October 20, 2005, 11:41:56 PM »
Additions of 'bad' sites to the hosts file is useful a) for blocking ads and b) for blocking sites which carry malware, thus alerting you to the fact that it's probably not a good idea to download a program from that site, or even visit it (if you could) if you browser and OS are not completely bang up to date. Without the hosts entry you could visit that site and download the adware or spyware program even with SP2 and the latest updates.

I think some sites that do not respect your privacy also get blocked.

It's another layer of protection. Is it really necessary? Who knows. I'll make that decision myself.

For some reason Spybot detects some entries as malware redirections, when in fact the 'bad' address is being redirected to 127.0.0.1, not a 'good' address to a 'bad' one: seems to be some CoolWebSearch entries that it picks up.

     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog

Offline Umath

  • Sr. Member
  • ****
  • Posts: 204
Re: Tweak DNS for faster access in XP.
« Reply #12 on: October 20, 2005, 11:51:16 PM »
(Chuckles).  A discussion is always fun as long as played gentlemanly.  ;)

Offline Mastertech

  • Sr. Member
  • ****
  • Posts: 282
    • Optimize Guides
Re: Tweak DNS for faster access in XP.
« Reply #13 on: October 20, 2005, 11:53:02 PM »
No it is not necessary. I've proven it, you will not get infected with Spyware without a Hosts file.

CWS cannot install if MSJVM is removed, try it and be spyware free.

Offline FreewheelinFrank

  • Avast Evangelist
  • Ultra Poster
  • ***
  • Posts: 4872
  • I'm a GNU
    • Don't Surf in the Nude!
Re: Tweak DNS for faster access in XP.
« Reply #14 on: October 21, 2005, 12:11:15 AM »
I accept that point. Blocking CWS sites is redundant if you have patched the vulnerabilities or switched Java machine.

But without a hosts file you can go to evilsite.com and download and install vicioustrojan.exe. With the hosts file, you will not even get to the site. And of course, the site will probably be called lovelyfreedownloads.com and the file will be called wonderfulfreeaplication.exe.

If you download and install an adware, spyware or Trojan program, you will get infected, even with a spick-and-span-bright-as-a-new-pin OS.
     Bambleweeny 57 sub-meson brain     Don't Surf in the Nude Blog