Added ability to use hostnames for DNS servers