resolve master dns name when trying to reconnect. (DDNS)

since minion config dns_check don't seems to do anything? I'm using that config option.

if the master is a ddns address or the ip address needs to change, this small fix keeps the minion running.
Merge pull request #11529 from steverweber/develop

resolve master dns name when trying to reconnect. (DDNS)