changes fqdn to ip