Hacker News new | ask | show | jobs
by garblegarble 2127 days ago
>(off-topic) What’re the advantages of pihole over /etc/hosts?

It's good for cases exactly like this - devices where you don't have control over /etc/hosts (or where you have lots of them and don't want to keep the hosts files in sync). I use it for my Samsung TV to keep them from phoning home (but still letting me use apps)

Edit: you can also set up a DoH endpoint and filter traffic while also allowing Encrypted SNI to work

1 comments

> It's good for cases exactly like this - devices where you don't have control over /etc/hosts

Is the pihole a DNS server or a firewall? Sibling comments suggest it's a DNS server, but that doesn't answer this need at all -- if you don't control /etc/hosts, you don't control the device. It can do its resolution however it wants. Most obviously, it can include the domain names you don't want it to reach in its own /etc/hosts file, which you just said you didn't control.