Ubuntu System Hosts need to modify /etc/hosts
file and hosts.conf
file, modify to restart after the completion of the network.
The specific process is as follows
Modify the Hosts, execute commands in a terminal:
$ sudo gedit /etc/hosts
Add a resolution records, save and reboot the network:
$ sudo /etc/init.d/networking restart
Google Code SmartHosts Project Home: code.google.com/p/smarthosts