Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Hosts File – Still Relevant?
6 points by News-Dog on Nov 9, 2021 | hide | past | favorite | 2 comments
My system network DNS is set to 1.1.1.2,1.0.0.2 (cloudflare Malware filtered DNS: https://blog.cloudflare.com/introducing-1-1-1-1-for-families/)

(https://en.wikipedia.org/wiki/1.1.1.1)

I would like you thoughts on using a system hosts file (/etc/hosts) such as: https://github.com/StevenBlack/hosts

(Of course I append my existing hosts file to the head of the updated hosts file) (https://en.wikipedia.org/wiki/Hosts_(file) )

What are the pros & cons?

I mainly use firefox with DNS over HTTPS enabled; (My ISP sells my DNS data to G00gle) and use:

https://security.cloudflare-dns.com/dns-query (cloudflare Malware filtered DNS) for my DNS lookups

with 'network.trr.bootstrapAddress' set to: 1.1.1.2 as fallback, and 'network.trr.mode' set to '3' (only use DNS over HTTPS)

(https://en.wikipedia.org/wiki/DNS_over_HTTPS)

As using DNS over HTTPS negates system hosts lookup, I use uBlock-Origin: https://addons.mozilla.org/en-US/firefox/addon/ublock-origin/

(https://en.wikipedia.org/wiki/UBlock_Origin)

And import a host file combo from: https://github.com/StevenBlack/hosts into 'Filter lists' of uBlock-Origin.

Any Thoughts?



Comprehensive list of filter subscriptions for uBlock Origin, Adblock Plus, AdGuard, hosts & more... at FilterLists : https://filterlists.com





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

Search: