Switching wifi to data DNS fails?

Reconnect doesn’t always work across this change if app is background during the change. Logs show DNS isn’t happening?

https://github.com/singpolyma/libstrophe/commit/c5d3575ef0b131b84ce7cf454f413608f24bb8fa