Check for DNS resolution after connecting EIP.

[Closes #5301]