3 ms·
You’ve unlocked a memory: Back in the day I ran a giant hosts file for the same reason. I guess dumb OSs didn’t index HOSTS files well (didn’t expect them to b
by Scoundreller 2y ago
You’ve unlocked a memory:
Back in the day I ran a giant hosts file for the same reason. I guess dumb OSs didn’t index HOSTS files well (didn’t expect them to be very large?) and it slowed things down noticeably.
Apparently it’s still a thing and the workaround doesn’t work either:
> This is still relevant with Windows 11; adding a 20MB hosts file (to block every known malicious IP) makes a 24-core i7 /w nvme take 4+ hours to boot. Worse, DNS cache is now system-controlled and cannot be stopped. Do not attempt!
https://serverfault.com/questions/322747/can-a-long-etc-hosts-file-slow-dns-lookup https://serverfault.com/questions/322747/can-a-long-etc-host...
- userbinator 2y agoThat sounds like the result of an "accidentally quadratic" or worse algorithm. Interesting that they didn't bother to fix it after all these years; perhaps they knew what those with large HOSTS files were using them for, and (especially now with Win11) were against it.