dns/dyndns: post-op

This commit is contained in:
Franco Fichtner 2021-04-21 09:51:33 +02:00
parent 98548b2781
commit ee651b0dbc
1 changed files with 2 additions and 2 deletions

View File

@ -448,7 +448,7 @@ class updatedns
case 'noip-free':
curl_setopt_array($ch, [
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_USERPWD => $this->_dnsUser.':'.$this->_dnsPass
CURLOPT_USERPWD => $this->_dnsUser . ':' . $this->_dnsPass
]);
$server = "https://dynupdate.no-ip.com/nic/update";
$port = "";
@ -470,7 +470,7 @@ class updatedns
} else {
$iptoset = $this->_dnsIP;
}
curl_setopt($ch, CURLOPT_URL, $server . $port . '?hostname=' . $this->_dnsHost.'&myip=' . $iptoset);
curl_setopt($ch, CURLOPT_URL, $server . $port . '?hostname=' . $this->_dnsHost . '&myip=' . $iptoset);
break;
case 'easydns':
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);