Updated connections to hostnames instead of IP addresses