Jump to content

blocking ads online


cmarshall

Recommended Posts

For those with some linux/raspberry pi skills, there is now an open-source solution to block internet advertising for your whole lan, pi-hole, from pi-hole.net.  Basically, you set up your own DNS server on the pi, running any linux OS, on your lan, then you point your router to the pi as the only DNS server, if your router offers that feature, otherwise it has to be set at the device level.  The pi-hole application functions as a forwarding dns server with a set of blacklists for known advertising sites.  When you pull up a web-age the ads on the page send DNS requests to the pi, which just drops them if the requested url is on the blacklist, otherwise it forwards the request to an upstream DNS server.  If you also choose, for instance, 9.9.9.9 as the upstream DNS server, that server will drop requests to known malware sites.

 

So, this means that any device on your lan, including your unrooted smartphone, is now almost totally free of ads.  And you needn't get those pleading popups to turn off ad-blocking.   Pi-hole also provides an interface with nice graphics:

2017-03-07-19_57_18-768x316.png

Edited by cmarshall
Link to comment
Share on other sites

13 hours ago, Fruit Trader said:

I have the same network wide DNS solution which also includes a little parental control using a PI but prefer notrack and its tracker lists. Pihole does have a really nice superior user interface though.


https://github.com/quidsup/notrack

 

Good suggestion.  i'll add the notrack blocklist to my pihole blocklist.

Link to comment
Share on other sites

5 hours ago, Oxx said:

Since this is blocking at the domain level it's useless where the ads and the content are served from the same domain.

If ad content is delivered from a specific folder or sub domain it can be added manually. No ad blocking method can distinguish between real content and ad content if its distributed randomly throughout a domains folders.

Link to comment
Share on other sites

3 minutes ago, Fruit Trader said:

If ad content is delivered from a specific folder or sub domain it can be added manually. No ad blocking method can distinguish between real content and ad content if its distributed randomly throughout a domains folders.

 

Wrong on two counts:

 

(1) The application concerned is blocking at the DNS level, so there can be no blocking of specific folders.

 

(2) Ad blocking software such as uBlock and AdBlock Plus can distinguish between real content and advertisements, blocking either by pattern (e.g. block anything containing "banner" or "ads" in the URL), or by the individual URL.  This can require a certain amount of training, but will ultimately be successful.

Link to comment
Share on other sites

5 minutes ago, Oxx said:

 

Wrong on two counts:

 

(1) The application concerned is blocking at the DNS level, so there can be no blocking of specific folders.

 

(2) Ad blocking software such as uBlock and AdBlock Plus can distinguish between real content and advertisements, blocking either by pattern (e.g. block anything containing "banner" or "ads" in the URL), or by the individual URL.  This can require a certain amount of training, but will ultimately be successful.

I can add abcdomain/banners to my list

How can Adblock or whatever possibly know about a custom ad delivery plan

Link to comment
Share on other sites

1 hour ago, Fruit Trader said:

I can add abcdomain/banners to my list

How can Adblock or whatever possibly know about a custom ad delivery plan

 

No doubt you can.  However, you're not talking about the product which is the subject of this topic which can only block at the domain/subdomain level.

 

AdBlock uses a variety of lists with custom filters which address a lot of common ad URL formats.  If one gets through, one simply adds it to the list with a couple of clicks and will never see it again.

Link to comment
Share on other sites

17 hours ago, Oxx said:

 

No doubt you can.  However, you're not talking about the product which is the subject of this topic which can only block at the domain/subdomain level.

 

AdBlock uses a variety of lists with custom filters which address a lot of common ad URL formats.  If one gets through, one simply adds it to the list with a couple of clicks and will never see it again.

To point out the obvious, it's not a question of either/or.  There's no need to turn off the ad blocker in the browser just because pi-hole is running.  Blocking at the dns level is particularly advantageous for some apps on your unrooted smartphone.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.





×
×
  • Create New...