6 ms·
My Linux system runs a 60k+ /etc/hosts files, plus dnsmasq for local resolution. Nice thing about dnsmasq is that it treats domain-level entries as domain-leve
by dredmorbius 11y ago
My Linux system runs a 60k+ /etc/hosts files, plus dnsmasq for local resolution. Nice thing about dnsmasq is that it treats domain-level entries as domain-level assignments.
No measurable lag.
I'd used the various blockfiles used by uBlock Origin, as well as some additional entries of my own, de-duplicated. There are some overaggressive entries, I've commented those.
A nice plus: I found the dozen or so hosts/domains associated with autoplay video crap, added them, and have no more bother from that.
- rasz_pl 11y agoAt the beginning (2006) dnsmasq used very naive O(n^2) /hosts parsing procedure. I was the first person ever to attempt using dnsmasq to block ads :-) http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2006q4/000937.html http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/200...
- dredmorbius 11y agoSweet. And if you had anything to do with the performance improvements, thank you very much.