我想阻止使用/ etc/hosts的网站。在Debian中封锁网站
这是我的hosts文件。
127.0.0.1 localhost
127.0.1.1 debian.localhost debian
#The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
0.0.0.0 facebook.com
127.0.0.1 https://facebook.com
既然它不工作,请告诉我发生了什么问题?
也试过了。它仍然没有工作。 – Dib
你能否粘贴你的hosts文件? –