Help - Search - Members
Full Version: Adblock question
Piriform Forums > Computer Help and Discussion > The Lounge
Pages: 1, 2
Monkey Proof
whats up with the banners that are being displayed here at CCleaner. when i try and add them to my Adblock nothing happens, even under wildcard. what am i missing?
JohnDemolition
are you refering to the google ads? or just something else?
Monkey Proof
its a toshiba laptop banner powered by google ads.

i noticed that i cant block anything under google syndication here at ccleaner
hazelnut
I cannot see that ad at all MP, in fact I've had none here since I followed rridgleys Host files post.
Monkey Proof
errrrr!!


i must find this host file topic of his
Tarun
You really don't need HOSTS clutter. I'll send you some info about how to block those ads. Maybe you should check out the Lunarsoft.net thread for Firefox Extensions. tongue.gif
Monkey Proof
fixed!

i upgraded to Adblock plus and no more google ads.....thanks Tarun for the link
rridgely
The host file is not only for blocking adds and the topic hazlenut was talking about is here(but by using it, it will block ads is ALL browsers)
http://forum.ccleaner.com/index.php?showto...mp;hl=host+file

Were you using filter set g updater when you had adblock? This will block just about any adds you would encounter.
https://addons.mozilla.org/firefox/1136/
Monkey Proof
the only browser i use is FireFox so i'm not concerned about having host files.
rridgely
Well it does more than just block ads but thats the most noticeable thing to users. Its just another quick and easy way to add another security layer that dosen't take any system recources.
Monkey Proof
QUOTE(rridgely @ Jul 10 2006, 03:29 PM) [snapback]42783[/snapback]

Well it does more than just block ads but thats the most noticeable thing to users. Its just another quick and easy way to add just another security layer that dosen't take any system recources.



oh?..doesnt take any extra resources?...hmm, now i might be interested...but just a little.

i think i'll do more research on host files.
rridgely
Look at this site:
http://www.mvps.org/winhelp2002/hosts.htm

It has excelent explenations about the host file and instructions on how to install one. smile.gif
JohnDemolition
QUOTE(rridgely @ Jul 10 2006, 03:29 PM) [snapback]42783[/snapback]

Well it does more than just block ads but thats the most noticeable thing to users. Its just another quick and easy way to add another security layer that dosen't take any system recources.

considering that you don't have the DNS cashing service turned on tongue.gif
Tarun
I would only put into the HOSTS file entries that you absolutely MUST block or redirect. I would not disable or set the DNS Client service to manual either.

DNS Client - Resolves and caches Domain Name System (DNS) names for this computer. If this service is stopped, this computer will not be able to resolve DNS names and locate Active Directory domain controllers. If this service is disabled, any services that explicitly depend on it will fail to start.

Leave it set to automatic.
krit86lr
QUOTE(Tarun @ Jul 10 2006, 06:09 PM) [snapback]42789[/snapback]

DNS Client - Resolves and caches Domain Name System (DNS) names for this computer. If this service is stopped, this computer will not be able to resolve DNS names and locate Active Directory domain controllers. If this service is disabled, any services that explicitly depend on it will fail to start.

That's correct. But isn't the purpose of setting a service to manual so that the service starts itself only when needed? Why is it necessary to set it on Automatic, other than having another service set to automatic that depends on that service? (lol, did you all follow that? tongue.gif )
Tarun
It caches DNS names for that computer. If disabled, it simply means the system will go upstream to resolve DNS names rather than use the cache.

Now, what that means is that it will always have to contact the ISP to get the IP address. So your computer will load pages slower.

So, why again is a huge HOSTS file with the DNS Client services changed any good? It's not. smile.gif
krit86lr
QUOTE(Tarun @ Jul 10 2006, 07:20 PM) [snapback]42794[/snapback]

It caches DNS names for that computer. If disabled, it simply means the system will go upstream to resolve DNS names rather than use the cache.

So, why again is a huge HOSTS file with the DNS Client services changed any good? It's not. smile.gif

But it says to set it to manual, not disable it. I understand what the problem is regarding disabling the service, but with HOSTS it's suggested that you set the service to Manual, not disabled.

What am I missing? huh.gif There shouldn't be a problem if it's set to Manual, right?
Tarun
Why risk slowing down your browsing?
krit86lr
QUOTE(Tarun @ Jul 10 2006, 09:20 PM) [snapback]42805[/snapback]

Why risk slowing down your browsing?

Okay, well that is definitely a valid point. wink.gif It will slow it down, although I don't know by how much. With my connection I don't notice it, but I'm sure that slower connections probably will.
rridgely
I've been using the MSMVP host file since april and I have not noticed any slow down in my browsing since using it. Also none of the people that said they started using it after my post have told me that they noticed any slow down either.

If you have been using the host file and noticed slowdown I would love to hear about it. So I know examples of possible down sides.

Their is a huge benefit by using the host file as well.

QUOTE

The Hosts file contains the mappings of IP addresses to host names. This file is loaded into memory (cache) at startup, then Windows checks the Hosts file before it queries any DNS servers, which enables it to override addresses in the DNS. This prevents access to the listed sites by redirecting any connection attempts back to the local machine. Another feature of the HOSTS file is its ability to block other applications from connecting to the Internet, providing the entry exists.

You can use a HOSTS file to block ads, banners, 3rd party Cookies, 3rd party page counters, web bugs, and even most hijackers. This is accomplished by blocking the Server that supplies these little gems.

http://www.mvps.org/winhelp2002/hosts.htm
Tarun
Just wondering, but when did you become a well informed expert on HOSTS files? MVPS.org is only trying to get you into using their HOSTS file. Since when is that information accurate?

http://support.microsoft.com/default.aspx?...kb;en-us;318803

QUOTE(MSKB 318803)
Note The overall performance of the client computer decreases and the network traffic for DNS queries increases if the DNS resolver cache is deactivated.

The DNS Client service optimizes the performance of DNS name resolution by storing previously resolved names in memory. If the DNS Client service is turned off, the computer can still resolve DNS names by using the network's DNS servers.

When the Windows resolver receives a positive or negative response to a query, it adds that positive or negative response to its cache, and as a result, creates a DNS resource record. The resolver always checks the cache before querying any DNS server. If a DNS resource record is in the cache, the resolver uses the record from the cache instead of querying a server. This behavior expedites queries and decreases network traffic for DNS queries.

You can use the Ipconfig tool to view and to flush the DNS resolver cache. To view the DNS resolver cache, type ipconfig /displaydns at a command prompt. Ipconfig displays the contents of the DNS resolver cache, including the DNS resource records that are preloaded from the Hosts file and any recently queried names that were resolved by the system. After a certain time period, the resolver discards the record from the cache. The time period is specified in the Time to Live (TTL) associated with the DNS resource record. You can also flush the cache manually. After you flush the cache, the computer must query DNS servers again for any DNS resource records previously resolved by the computer. To delete the entries in the DNS resolver cache, type ipconfig /flushdns at a command prompt.


Again, leave the service alone and don't mess with a HOSTS file unless you absolutely have to block a few things.
krit86lr
QUOTE(Tarun @ Jul 10 2006, 10:37 PM) [snapback]42815[/snapback]

Just wondering, but when did you become a well informed expert on HOSTS files? MVPS.org is only trying to get you into using their HOSTS file. Since when is that information accurate?

http://support.microsoft.com/default.aspx?...kb;en-us;318803
Again, leave the service alone and don't mess with a HOSTS file unless you absolutely have to block a few things.

Ah! Thanks for the link. Now I see what you were getting at. That's a very good point. You're right about that. smile.gif

Although! My question is about the manual setting. The service should turn itself on when needed if set to manual right?
Monkey Proof
i think for my purposes having FireFox and Adblock Plus with the Filter G is good enough. if i need to visit a questionable website i'll visit McAfee's SiteAdvisor first and type in the URL just to check it out.
rridgely
QUOTE(Tarun @ Jul 10 2006, 11:37 PM) [snapback]42815[/snapback]

Just wondering, but when did you become a well informed expert on HOSTS files? MVPS.org is only trying to get you into using their HOSTS file. Since when is that information accurate?


I actually did quite a bit of research on the topic before I started that topic back in april.
Every major trustworthy site I went to endorsed the idea of using the host to block malicious sites/ads/hijackers ect.

Some good links(the bleeping computer one is the most informative)
http://en.wikipedia.org/wiki/Hosts_file
http://www.grc.com/sn/notes-045.htm
http://www.bleepingcomputer.com/tutorials/tutorial51.html
http://www.safer-networking.org/en/dictionary/hostsfile.html
http://www.dead-eye.net/Windows%20XP%20Pro...tm#DNS%20Client (black viper services list.)

Its not like this all isnt easily reversible anyway. I have been using it for a few months now and dont even notice it(except when I go to IE and all the ads are gone tongue.gif). Use it or not thats ultimately the users choice but the general consensus from a security stand point is that its another easy layer of protection.



QUOTE(MP_handler @ Jul 11 2006, 12:11 AM) [snapback]42817[/snapback]

i think for my purposes having FireFox and Adblock Plus with the Filter G is good enough. if i need to visit a questionable website i'll visit McAfee's SiteAdvisor first and type in the URL just to check it out.


Site advisor is another great security program that dosen't tax your pcs rescources. The only thing I wish it did was not let the browser load red sites without you clicking a confirm button or something, nothing like knowing when its too late. tongue.gif Its all good though as long as you google the sites before you go to them and see its recomendation before going to the site.
Monkey Proof
i never downloaded Site Advisor it self..i just visit their home page when needed and enter whatever URL into the search block thingy.

also i heard that if you actualy have it installed it phones home to McAfee with every web site that you visit. to me thats just too much into my business.
Andavari
I've been blocking sites via the HOSTS file for at least six years now and haven't noticed any ill effects. Also in disabling the WinXP DNS Client Service I have not noticed any ill effects either.

However I suppose since MS has an article about it someone could notice some effect, albeit I haven't - but then again I'm on dial-up which is slow anyways.
Tarun
QUOTE(krit86lr @ Jul 11 2006, 12:07 AM) [snapback]42816[/snapback]
The service should turn itself on when needed if set to manual right?

Though I've not found any definitive information on when exactly that service will turn itself on. I'll see about testing this on my VPC to see when and if the service turns on. tongue.gif

QUOTE(rridgely @ Jul 11 2006, 12:33 AM) [snapback]42818[/snapback]

I actually did quite a bit of research on the topic before I started that topic back in april.
Every major trustworthy site I went to endorsed the idea of using the host to block malicious sites/ads/hijackers ect.

Some good links(the bleeping computer one is the most informative)
http://en.wikipedia.org/wiki/Hosts_file
http://www.grc.com/sn/notes-045.htm
http://www.bleepingcomputer.com/tutorials/tutorial51.html
http://www.safer-networking.org/en/dictionary/hostsfile.html
http://www.dead-eye.net/Windows%20XP%20Pro...tm#DNS%20Client (black viper services list.)

Its not like this all isnt easily reversible anyway. I have been using it for a few months now and dont even notice it(except when I go to IE and all the ads are gone tongue.gif). Use it or not thats ultimately the users choice but the general consensus from a security stand point is that its another easy layer of protection.

Yet none of those linked sources give you firm, official information. GRC is a joke (he always has been for his mis-information), Wikipedia cannot be guaranteed true as so many users can edit it. It's already been said by Microsoft that it will slow down your computer. If people were smart, they'd read it from the source, Microsoft; and then know what to or not to do. And it's quite clear when Microsoft says overall performance decreases and increases network traffic. That says in plain english that two things to slow down your computer will happen. So, how is that a good thing? It's not. smile.gif

QUOTE(Andavari @ Jul 11 2006, 12:59 AM) [snapback]42820[/snapback]

I've been blocking sites via the HOSTS file for at least six years now and haven't noticed any ill effects. Also in disabling the WinXP DNS Client Service I have not noticed any ill effects either.

However I suppose since MS has an article about it someone could notice some effect, albeit I haven't - but then again I'm on dial-up which is slow anyways.

You may wish to try setting the DNS Client service back to Automatic and see if there are any increases in your speeds.
Eldmannen
To get rid of Google ads, you add an entry like this;

googlesyndication.com

If you still get adds then you can add an entry like this;

*/pagead/*
Andavari
QUOTE(Tarun @ Jul 11 2006, 10:03 AM) [snapback]42848[/snapback]

You may wish to try setting the DNS Client service back to Automatic and see if there are any increases in your speeds.

Here's some stats for you - this is not an argument of who's right or wrong, it's just what I encountered doing things the "Microsoft way":
1. I set the DNS Client to Automatic, followed by a reboot. Then I noticed no websites whatsoever would load no matter what browser I tried (IE, Firefox, Opera).

2. I set it back to Manual, and then tried to reboot however I got a pop-up dialog noting that the Service wasn't responding. I had to end task it in order to reboot.

3. Now with it set to Manual, and after a reboot websites load in all browsers again. This is of no surprise to me since MVPS and hpHOSTS both say to disable DNS Client with a large HOSTS file.
Tarun
Did you remove or clear out the HOSTS file when you attempted this?
Andavari
QUOTE(Tarun @ Jul 11 2006, 02:45 PM) [snapback]42868[/snapback]

Did you remove or clear out the HOSTS file when you attempted this?

No, and why would I?
I had a large HOSTS file long before I even set DNS Client to manual as suggested by MVPS however it didn't exceed the supposed filesize limit on WinXP. Now it does however exceed the filesize limit because I'm using my HOSTS file, the MVPS HOSTS file, and the hpHOSTS HOSTS file.
Tarun
Then how can you determine the accuracy of your test when you still had your own settings there?

You said you were trying things the Microsoft way; then you should have purged your HOSTS file. You may even want to try doing a ipconfig /dnsflush to see if there are any changes.

Sorry, but you barely even scratched the surface. smile.gif
Humpty
Just an observation on my part. smile.gif

I run without any entries in the hosts file and with DNS service disabled.

Only use FF here with adblockplus and noscript and don't seem to have any slowdowns.

If I set DNS service to start ZAP throws up a warning that "generic host process" wants to lauch this or that and connect to where ever.

Can't remember exactly what and can't find any entries in the ZAP logs.

Nothing malicious but I guess I'm just a control freak. rolleyes.gif






Tarun
svchost is the Generic Host Process. They load from command line parameters.
DjLizard
Why would anyone disable the DNS Client? So that every time you visit a site it has to re-request the IP address? That is extra network traffic for no reason.

Setting it to Manual would almost be the same thing as setting it to Automatic, as the instant a program wants to find an IP address, it will turn itself on. I figure most people browse the web, check their email, or connect to instant messaging networks and crap as soon as their system is loaded anyway, so why bother putting DNS Client on-demand?
rridgely
QUOTE

Setting it to Manual would almost be the same thing as setting it to Automatic, as the instant a program wants to find an IP address, it will turn itself on. I figure most people browse the web, check their email, or connect to instant messaging networks and crap as soon as their system is loaded anyway, so why bother putting DNS Client on-demand?


Thank you, this solves the question.
The whole point of disableing the service was to keep from experiencing slowdown from using a large host file. And if setting it to manual will stop the slow down and let it start up when needed then what I thought all along was right.
DjLizard
But if you set it to manual, it will start the instant a program requests an IP lookup (edit: a lookup that isn't present in HOSTS), so that is nearly the same thing as setting it to Automatic, and will help you with nothing. edit: you'd need to put a line for each site you plan on visiting, with the current IP of the site, to prevent normal browsing from starting the service. As soon as you sign on to MSN, AIM, check your email, or browse a site, DNS client (while set to manual) will start right up (edit: providing that there is no HOSTS line for it). You'd have to put a hell of a lot of IPs in your HOSTS file to prevent casual browsing from starting the client.
krit86lr
In short. This thread ended up being pointless. LMAO

HOST files suggest that you set the service to "manual", not "disabled". While set on manual the service will be started anyway. Therefore, whether the service is set to auto, or manual...the service will be on if you connect to the internet.

MOVING ON!!!! laugh.gif
1984
actually, i learned a lot from this thread.
krit86lr
QUOTE(Lordoftheweb @ Jul 12 2006, 11:28 AM) [snapback]42933[/snapback]

actually, i learned a lot from this thread.

Good. Then it did serve a purpose after all. smile.gif

Yo yo yo LOTW!
Bi0haZarD
QUOTE(krit86lr @ Jul 12 2006, 08:50 AM) [snapback]42930[/snapback]

In short. This thread ended up being pointless. LMAO


I laugh at the HOSTS part of this thread >.>
Woody
QUOTE(Lordoftheweb @ Jul 12 2006, 05:28 PM) [snapback]42933[/snapback]

actually, i learned a lot from this thread.

I haven't the faintest idea what anybody's talking about. laugh.gif
krit86lr
QUOTE(Woody @ Jul 12 2006, 01:54 PM) [snapback]42961[/snapback]

I haven't the faintest idea what anybody's talking about. laugh.gif

Sorry, but I've been dying to ask. What part don't you understand?
Humpty
Here's another that can't work out the DNS service. smile.gif

Have read a lot of articles and listened to advice and I know what it's supposed to do.

Using FF here and things seem snappier with DNS turned off.

I think I'll go with the motto that if it works fine for you then use it.(or don't use it) wink.gif

Tarun
It's best for you, your computer and your connection if you leave the DNS Client service set to Automatic. As DjLizard said, setting it to Manual will just result it in turning itself on when you're on the net.
Humpty
Yes I know but I have it set to disabled so it doesn't kick in.

Could be that I have followed Bold Fortunes XP slimming guide and certain dependacies aren't there.

I am certainly not saying that anyone should turn it off and they should leave on auto.

FF seems snappier with DNS disabled on my pc with my setup.

IPSEC service won't kick in so that could be a factor.



Quote BF:

"DNS Client"

"DNS Client resolves and caches (Domain Name Server) DNS names. DNS Client is required if using IPSEC.

There are lots of arguments about this one. My opinion, it's not required. If you disable it, all the lookups will be done by your Internet Service Provider's DNS."
krit86lr
QUOTE(Humpty @ Jul 12 2006, 10:02 PM) [snapback]42991[/snapback]

Here's another that can't work out the DNS service. smile.gif

Have read a lot of articles and listened to advice and I know what it's supposed to do.

Using FF here and things seem snappier with DNS turned off.

I think I'll go with the motto that if it works fine for you then use it.(or don't use it) wink.gif

So you have it disabled, or stopped? There's a difference (which I'm sure that you know...didn't mean to insult).
Humpty
Disabled

(Like me on a Friday night) smile.gif

1984
i enabled the damn thing. then i went to the gym and benchpressed till i thought i was going to puke. then i took the kids for an hour long bike ride.

you guys are going round and round on a linguistic merry go round and im getting dizzy. djlizard seems to have the biggest brain here, so im following his lead.

now im going to drink beer and try to forget this whole dns/hosts thing, because you guys are making me crazy setting it to disable/manual/automatic.

smile.gif
krit86lr
QUOTE(Humpty @ Jul 12 2006, 11:12 PM) [snapback]42996[/snapback]

Disabled

(Like me on a Friday night) smile.gif
w00t!!! w00t!!! for Friday night biggrin.gif

Well you know what Humpty? If you're happy with it then, rock on. It won't get you infected, and/or f*ck up your pc or anything. wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.