Add support for extra host entries on hosts file

Allow for adding extra host entries to the /etc/hosts file.