Skip to content

Commit

Permalink
Use the righ URL for FreeDNS
Browse files Browse the repository at this point in the history
Needed to close upstream issue: opnsense#2428
  • Loading branch information
andrewhotlab authored and fichtner committed Nov 10, 2021
1 parent 7bc794f commit e8af90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ class updatedns
$this->_checkStatus(0, $code);
break;
case 'freedns':
curl_setopt($ch, CURLOPT_URL, 'https://sync.afraid.org/u/' . $this->_dnsPass . '/');
curl_setopt($ch, CURLOPT_URL, 'https://freedns.afraid.org/dynamic/update.php?' . $this->_dnsPass . '/');
break;
case 'dnsexit':
curl_setopt($ch, CURLOPT_URL, 'https://update.dnsexit.com/RemoteUpdate.sv?login=' . urlencode($this->_dnsUser) . '&password=' . $this->_dnsPass . '&host=' . $this->_dnsHost . '&myip=' . $this->_dnsIP);
Expand Down

0 comments on commit e8af90b

Please sign in to comment.