我正在尝试通过更改/etc/hosts来阻止自己访问浪费时间的网站。例如:
我可以在新打开的Chrome或Firefox中访问bing.com,为什么这不起作用?
127.0.0.1 localhost
127.0.1.1 ross-laptop
127.0.0.1 bing.com
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
我可以在新打开的Chrome或Firefox中访问bing.com,为什么这不起作用?