What is the /etc/hosts file used for?
blocking sites using iptables
resolving the local name
setting the hostname
configuring DNS name servers