Live data from Hacker News

Pi-hole: A black hole for Internet advertisements

pi-hole.net

131–140 of 262 posts

Re: Pi-hole: A black hole for Internet advertisements

#131

i am very much intrigued by this, atleast from consumer prespective. I am completed noob, is it "simple" enought to set up?

You'll need to be able to install Raspbian, run the install script, give it a static ip address and configure your router to use that ip address as its DNS server.

Re: Pi-hole: A black hole for Internet advertisements

#132
post #118

Pi-hole is my most prized addition to my connected home. It was simple to set up, easy to manage, and easy to access for whitelisting. Now, all of my devices throughout my network benefit from the service, as opposed to relying on locally installed solutions. If you aren't using it, you should!

is there any security concerns with the pi itself? say your computer is infected with a really bad malware. it takes over your host, ignores your right to block out noise, and then the idea that pi-hole will be able to as a last resort block it out?

Some devices use hard coded DNS (looking at you G). You can force devices to use the pi-hole via masqurading. In you example, you'd be able to see the malware requests show up in the pi-hole interface.

Re: Pi-hole: A black hole for Internet advertisements

#133

Pi-hole is my most prized addition to my connected home. It was simple to set up, easy to manage, and easy to access for whitelisting. Now, all of my devices throughout my network benefit from the service, as opposed to relying on locally installed solutions. If you aren't using it, you should!

I see it as an advantage for all the devices on your network. I mean, to block trackers from Windows computers, or Roku devices or android apps. But as an adblocker - I feel like I'm missing something. It acts as a DNS server for your local network and blocks what's essentially a host file. So how does it handle ads served through websockets? How does it handle ads that come from the same domain as legitimate content…

It's a layer of defense, to be used with other layers. It should not be used as the sole solution. I don't use PiHole but I use a similar manual setup using dnsmasq, but also employ browser-based adblocking.

Re: Pi-hole: A black hole for Internet advertisements

#134

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

AdGuard DNS does something like this.

Re: Pi-hole: A black hole for Internet advertisements

#135

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

They have: nextdns.io

There was discussion a few days ago: https://news.ycombinator.com/item?id=20012687

Re: Pi-hole: A black hole for Internet advertisements

#136

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

Just to be clear, what change are you expecting to happen? Not /s.

Re: Pi-hole: A black hole for Internet advertisements

#137

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

pi-hole as a service. How much would that cost / month?

Or could fund it with some targeted ads. Oh, wait.

Re: Pi-hole: A black hole for Internet advertisements

#138

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

There are a few services that are public DNS with ad blocking, but now you're trusting them with private data. The plus side is that you don't have to run anything yourself.

I run my own knot-resolver server that forwards everything to 1.1.1.1 over TLS and I generate an .rpz that is basically the same filter list as pihole. Most DNS traffic ends up at Cloudflare, so you may as well go straight to the source.

https://gist.github.com/jzelinskie/3d2b11830224993fc8a7441b3...

Re: Pi-hole: A black hole for Internet advertisements

#139
post #136

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

Just to be clear, what change are you expecting to happen? Not /s.

This is a good question.

I am not the relevant commenter, but what things would you expect to not change in a scenario where a majority of websites lost all ad revenue. (As admittedly unrealistic as it sounds the same was once true re moon landing and here we are, debating viability of not ruining our lives with advertising.)

Re: Pi-hole: A black hole for Internet advertisements

#140

Why hasn't anyone, or pi-hole themselves, made a public DNS that does this? Pass everything not on the blocklist thru to 1.1.1.1. The fact that this requires special hardware, bash commands, etc is severely limiting the audience. The more people blocking ads the quicker the internet changes. Edit: thanks for the replies!

It doesn't require special hardware. Anyone running their own resolving nameserver can do it with two parts:

include "/etc/bind/ad-blacklist";

/etc/cron.daily/update-ad-blacklist

or equivalent for unbound, maradns.... whatever.

Post reply on HN