adding endpoint fqdn to /etc/hosts