dns/dyndns: fix unreachable HTTPS for dyns.cx; closes #1462

This commit is contained in:
Franco Fichtner
2019-08-22 15:56:18 +02:00
parent 638898fe26
commit cafafd333b
2 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PLUGIN_NAME= dyndns
PLUGIN_VERSION= 1.16
PLUGIN_REVISION= 1
PLUGIN_VERSION= 1.17
PLUGIN_COMMENT= Dynamic DNS Support
PLUGIN_MAINTAINER= franco@opnsense.org
@@ -473,8 +473,9 @@ class updatedns
curl_setopt($ch, CURLOPT_URL, "{$server}{$port}?host=" .$this->_dnsHost);
break;
case 'dyns':
$server = "https://www.dyns.cx/postscript011.php";
$port = "";
/* XXX HTTPS is currently broken for them */
$server = 'http://www.dyns.cx/postscript011.php';
$port = '';
if ($this->_dnsServer) {
$server = $this->_dnsServer;
}