3 ms·
wc -l /etc/hosts == 11846 About 90% are blocked sites. The rest is local (privat and business) dev configuration.
by sdoering 10y ago
wc -l /etc/hosts == 11846
About 90% are blocked sites. The rest is local (privat and business) dev configuration.
- mrweasel 10y agoAre you sure it's not more than 90%, or do you actually have almost 1200 dev configuration in your hosts file?
- pcora 10y agoserious question, doesn't having such a big hosts file affects performance somehow?
- gruez 10y agoThe time it takes to scan a 10k line file (even if it's not cached in memory) is much smaller than a round trip to your DNS server.
- pfschell 10y ago$ wc -l /etc/HOSTS 220572 /etc/HOSTS Not only doesn't it have any negative performance impact, it makes most websites 10x faster. (And no, there's no dead weight in there. Every single one of those is still resolvable as of a month ago.)
- ape4 10y agoDoes /etc/hosts support *.facebook.com ?