-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: DNS Cache disabling. #2247
Comments
Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better! |
Quote myself from reddit:
https://www.reddit.com/r/WindowsHelp/comments/116qjca/_/ I actively participate in Windows help subs and this particular use case pops up often and with an array of problems people experience. There are also multiple issues in this repo regarding Windows acting up. See here: #2138 #2094 #2064 #2039 - some have potential workarounds you may try. I highly encourage you to find a way to use this upstream with PiHole or similar. It's really easy to set up and is inexpensive to do with a raspberry pi board. Every device can benefit, not just your computer. |
Thank you for your question @Lagomorpheus. As someone once said, there are two problems in computer science:
Within the bat file, this line...
flushes DNS cache, so the new hosts file takes immediate effect, yes. Without this immediate and full cache invalidation, ad-hoc cache invalidation, and the extent of that, is hard to determine or predict. With Windows I find the hosts file size problems depend on which version of Windows is running, how much RAM is onboard, DNS configuration, and potentially other settings incoherently and varyingly buried in Windows config dialogs. If Windows gets slow suddenly, it might be related to the hosts file and, then again, it might not. @icedterminal enumerates some seemingly related issues here. |
Closing! |
I've been using this list for awhile and only just now noticed the .bat to disable the cache service.
Does this make it so websites block instantly without having to wait 10+ minutes for it to update any time a change in hosts or connection changes? Windows had made the cache instant but following an update it went back to being slow, if I run the disabler will my PC work fine?
Also if you have an m.2 SSD will the cache load instantly even with the service enabled?
The text was updated successfully, but these errors were encountered: