Use the dns_name instead of public_ip in config so that SSH doesn't give a hostname warning

[merge]