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

I have never used this but how does it block ads on https pages? Or am I misunderstanding pi-hole?


Browsing sites served over HTTPS still requires querying a DNS server to figure out what IP address to connect to. Pi-hole acts as a DNS server and returns invalid results when asked for the IP of a blocked site. Ads are served from a separate domain from content, so they can be blocked without affecting the content.


Oh great point. Thanks for the explanation.




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

Search: