Talk:Linux Networking/Configuring your Name Resolver

Blocking sites with /etc/hosts
From the article: "In a well managed system the only hostnames that usually appear in this file are an entry for the loopback interface and the local hosts name."

Not everyone agrees with this assertion. Some people advocate adding hostnames of machines with which one does not wish to communicate, such as web servers that spread malware or serve browser-slowing scripts, to /etc/hosts with 0.0.0.0 as the address. Is this a bad idea, and if so, why doesn't the book explain why? --Damian Yerrick (discuss • contribs) 23:13, 23 October 2013 (UTC)