Updates host in host file depending on hosts external IP