OpenDNS causing Missleading error messages on plugin and theme updates

Just a heads up for those getting the following error message when updating plugins or themes and getting an error message like this.

“Download failed.: SSL peer certificate or SSH remote key was not OK”

This isnt related to SSL but the fact that your VPS or Dedicated servers may be using open dns for domain resolution, as of late it appears that they are being a bit flakey.

You can resolve this easily by editing your /etc/resolv.conf file (ask your host if you dont have access) and changing the entries for OpenDNS (usually you will see 208.67.220.220 and 208.67.222.222) to those of google 8.8.4.4 and 8.8.8.8 you will need to restart bind and apache for this to take effect.

Cheers