mirror of
https://github.com/goodhosts/hostsfile.git
synced 2026-04-27 15:35:50 +03:00
[GH-ISSUE #10] Larger list of hosts per ip is not working in Windows #6
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hostsfile#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @C0mp4ct on GitHub (Aug 10, 2020).
Original GitHub issue: https://github.com/goodhosts/hostsfile/issues/10
If hosts file has more than 9 hosts per IP, Windows doesn't see the rest of the hosts. See here
@luthermonson commented on GitHub (Aug 10, 2020):
This is great info, thanks I'll patch it when I find some time.
@rfay commented on GitHub (Aug 10, 2020):
There's loads more info on this in the original issue, https://github.com/lextoumbourou/goodhosts/issues/11 - It seems that multiple lines would help solve the problem.
@luthermonson commented on GitHub (Oct 15, 2020):
@rfay @C0mp4ct this is now supported with the HostsPerLine which can take an int to split, the default behavior in the Clean func will be to pass in the OS specific param, windows is 9 per line and the rest are unlimited.
Additionally, this is merged up to v1.0.5 of the cli, you can use --clean on add/remove or the clean command itself will just scrub what you have in place.
https://github.com/goodhosts/cli/releases/tag/v.1.0.5
I'm closing this issue, if this does not solve the problems please feel free to open a new one with anything that comes from this update.