updating to DNS name instead of IP