updates.opendns.com HTTP/1.1
Brought to you by:
supersandro2000,
wimpunk
OpenDNS appears to have changed their update web service. Several users have reported issues with DDClient here on thier community site : https://support.opendns.com/hc/en-us/community/posts/360040994471-ddclient-response-HTTP-426-Upgrade-Required-Debian-stretch-ddclient-3-8-3-1-1-libio-socket-ssl-perl-2-044-1-
RECEIVE: HTTP/1.1 426 Upgrade Required
RECEIVE: date: Fri, 15 Feb 2019 23:13:38 GMT
RECEIVE: server: opendns
RECEIVE: content-length: 0
I was able to correct the issue by sending HTTP/1.1, instead of 1.0
Please review impacts of your other ddns subscibers when changing:
$request .= "/$url HTTP/1.0\n";
To:
$request .= "/$url HTTP/1.1\n";
Thank you;)
HTTP/1.1 breaks compatibility with cloudflare api, returned a larger json response.
FAILED: invalid json or result.
This crude patch selectively sends 1.1 based on matched server names in the hard coded array. Otherwise continue sending 1.0 before.
I'll leave this for someone more familar with ddclient code base to determine how best to address this issue, if at all. Thank you ;)