3 ms·
Ask HN: Hosts File – Still Relevant?
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?
- News-Dog 5y agoComprehensive list of filter subscriptions for uBlock Origin, Adblock Plus, AdGuard, hosts & more... at FilterLists : https://filterlists.com https://filterlists.com
- News-Dog 5y agoOops! Mental Note, I must use 'Search' : https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=false&query=%28filterlists.com%29&sort=bydate&type=all https://hn.algolia.com/?dateRange=pastYear&page=0&prefix=fal...