Make sure we also write to the /etc/hosts file

Populate entries in /etc/hosts