mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/dyndns: post-op
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user