Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: