Adjust DNS lookup when using IP address in connection string.