4 ms·
I wonder how big a hosts file could get before it degraded performance? You can still do DNS over VPN. That is, I could set up an unbound cache on a VPS and s
by fullstop 6y ago
I wonder how big a hosts file could get before it degraded performance?
You can still do DNS over VPN. That is, I could set up an unbound cache on a VPS and secure my traffic to that server using wireguard or openvpn. This just pushes the eyeballs out of my home and into someone else's datacenter, though.
- snazz 6y agoI'm guessing that the time required to open the hosts file for reading would eclipse the amount of time required to parse it and do a linear search on the entries. I would think that the file would have to be measured in the hundreds of megabytes for performance to be a significant consideration, but I haven't benchmarked it.
- kortex 6y agoJust set up a pihole/dnsmasq. You'll need to point that at your desired DNS (I use 1.1.1.1, but if I were more paranoid I'd tunnel it)