Hacker News new | ask | show | jobs
by jto1218 2570 days ago
you can pretty easily whitelist those sites.
1 comments

Pi-Hole is a very simple DNS based blocker. You can not whitelist ad providers on a origin basis.
They didn't say whitelist ad providers, they said sites. Which you can do with pi-hole.
How does a DNS blocker know what requests are caused by what site? It's a stateless protocol.
Yeah, that was a misunderstanding on my part.

I suppose for their whitelist/blacklist to work with regex matching the ads would have to be served from a similarly named domain. Like facebook.com vs ads.facebook.com, and you'd have to whitelist *facebook.com. And if they were getting ads externally you'd have to whitelist those ads for every site that you visit.