Ultimate-Hosts-Blacklist / Ultimate.Hosts.Blacklist

The Ultimate Unified Hosts file for protecting your network, computer, smartphones and Wi-Fi devices against millions of bad web sites. Protect your children and family from gaining access to bad web sites and protect your devices and pc from being infected with Malware or Ransomware.
MIT License
1.27k stars 156 forks source link

Unable to connect to internet after changing hosts file. #533

Closed hxp-pxh closed 4 years ago

hxp-pxh commented 4 years ago

As soon as I run the install batch file on my Windows 10 machine I lose complete connectivity to the internet.

ReXtrem commented 4 years ago

Exactly same issue here

mitchellkrogza commented 4 years ago

The hosts file is just too big for Windows to consume, we don't see this limitation on linux machines. Our DNS service will be the only way forward which hopefully will be back up and running in early 2020.

spirillen commented 4 years ago

AAahhh not entirely true

we don't see this limitation on linux machines

But yes the limit is way higher, but i have killed a HP ML350G6 with raid5 SCSI 10.000RPM 192GB Ram with a /ets/hosts file :+1:

Rikj000 commented 4 years ago

Yea indeed. I completely lost internet connectivity on my Windows 10 machine.

Also wasn't able to run the uninstaller script successfully or replace the hosts file manually with administrator rights since it was constantly in use by the svchost.exe process.

I was able to restore my hosts file when booting in safe mode without internet connectivity tho 😄

spirillen commented 4 years ago

Hi @Rikj000 may I suggest you try with unbound for windows?

Here is a little test of Hosts file vs DNS-Recursors

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

funilrys commented 4 years ago

Hello there, I'm closing this. The issue with windows is known and it may get better with the time as @microsoft give the impression that they want to make really change to show how much it "❤️ Linux".

In the meantime, I reopened: #293 . It will take a bit of time until we get a second IP but if it is not a problem (I don't use Windows on daily basic) then send me a message and I will give you the IP so that you can test it (Same for other who want to test it!).

Stay safe and healthy! Nissar

spirillen commented 4 years ago

@microsoft give the impression that they want to make really change to show how much it ":heart: Linux".

:rofl:

It will take a bit of time until we get a second IP

Have you considered setting up a VPS at hetzner.de? I use four of them to my DNS setup

xbbdc commented 4 years ago

For those on Windows using the hosts file, have you tried turning off DNS Client service?

https://tinyapps.org/blog/201809300700_large_hosts_file.html

Large hosts file causes networking issues in Windows 10
spirillen commented 4 years ago

It's the same as what @ScriptTiger is dealing with in one of his projects, but he have a --compress lvl switch to add up to 9 hosts per line

https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate/issues/23

friends96 commented 4 years ago

For those on Windows using the hosts file, have you tried turning off DNS Client service?

https://tinyapps.org/blog/201809300700_large_hosts_file.html

Large hosts file causes networking issues in Windows 10

For anyone troubleshooting the big hosts file problem. It is not very straightfoward to turn off DNS Client service. At least so it was for me. This video helped me a lot https://www.youtube.com/watch?v=6HrCqcKF5CY in Written summary: from search bar open "Registry Editor", browse to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache image select the Registry that says "Start" and change that 2 to a 4 Then reboot and you can modify the hosts file

Large hosts file causes networking issues in Windows 10
YouTube
How To Disable DNS Client Service in Windows 10
--------------------------------------------------------------------------------------------------------------------------------------------- Thank You For W...