Cache DNS hostname to adapt to DynDNS services when reconnecting, see jnwatts/microdc2#5
Cache not only first non-IP hostname
Merge pull request #6 from ogasser/reread_dns_on_reconnect

Cache DNS hostname to adapt to DynDNS services when reconnecting