Giter Club home page Giter Club logo

Comments (5)

Lateralus138 avatar Lateralus138 commented on June 11, 2024 2

I'm busy today so I just dropped in to point you in the right direction with an actual solution: compress the hosts file. The DNS Cache service can not handle that many line entries (and contrary to popular belief it's not the file size that's the issue, but the number of lines to process). I actually have a tool to do so as suggested in the 'Interesting Applications' section of Steven's README (I have both the script version and an actual command line program; I recommend the latter at it is exponentially faster and has more options). See 'Hosts Compress' - Windows version in the aforementioned section of the README of this repository. I'll be back with more information later if necessary. With this method there's no need to disable DNS caching and the hosts file will still block all redirected Urls.

from hosts.

Master-64 avatar Master-64 commented on June 11, 2024 1

Thank you for this @Master-64.

Have you read Warning: Using this hosts file in Windows may require disabling DNS Cache service in our readme file?

As far as I can tell, this is all documented, yes?

You are correct, this is my mistake for looking past. I figured it was an issue with the operating system itself, and it having issues with processing that many lines. As I believe there is nothing else to comment on since a solution to this issue has already been addressed with two different methods, I'll be closing this issue.

from hosts.

welcome avatar welcome commented on June 11, 2024

Hello! Thank you for opening your first issue in this repo. It’s people like you who make these host files better!

from hosts.

StevenBlack avatar StevenBlack commented on June 11, 2024

Thank you for this @Master-64.

Have you read Warning: Using this hosts file in Windows may require disabling DNS Cache service in our readme file?

As far as I can tell, this is all documented, yes?

from hosts.

Lateralus138 avatar Lateralus138 commented on June 11, 2024

@Master-64 Fair warning that if you use the disabling DNS cache method then things like WSL will not be accessible.

from hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.