2.2-RELEASE Dynamic DNS Euro DNS Not Updated
-
Hello World,
I can't update my IP on EuroDNS, my Login is Good, my Password is Good, my hostname is good.
With my old pfsense 2.1 patched update correctly Eudo Dns.
Some have the same trouble ?
Thanks in advance
Olivier
-
There seems to be a problem with the eurodns certificate
system error log
/services_dyndns_edit.php: Curl error occurred: SSL certificate problem: unable to get local issuer certificatin /etc/inc/dyndns.class
case 'eurodns': $needsIP = TRUE; if ($this->_dnsVerboseLog) log_error("EuroDynDns ({$this->_dnsHost}) DNS update() starting."); curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); $server = "https://eurodyndns.org/update/"; $port = ""; if($this->_dnsPort) $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server .$port . '?hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP); break;
I've changed https://eurodyndns.org/update/ to http://eurodyndns.org/update/ that run but my login password are send without encryption !
Developper team can do something ?
Thanks Olivier
-
There seems to be a problem with the eurodns certificate
…..
Developper team can do something ?Probably.
But it isn't a real show-stopper.Just take a browser - and visit https://eurodyndns.org/update/
If you you Internet Explorer, you are just "warned", and no details. (make a note on the list entitled "why shouldn't I use this browser")
Now, take another browser, let's say: FireFox. A nice warning box will open. Be dev'minded, and click on 'Show technical details' …. read .... and you problem is solved.
Change$server = "https://eurodyndns.org/update/";
for
$server = "https://[b]update[/b].eurodyndns.org/update/";
and your problem is probably solved :)
The certificate is valid for https://update.eurodyndns.org/update/ and https://www.update.eurodyndns.org/update/
So, start deving your self ;) -
and when you have working code in dyndns.class, go to:
https://github.com/pfsense/pfsense/blob/master/etc/inc/dyndns.class
and make the edits and submit a pull request. -
Changing the url doesn't completely fix it.
After the url is changed the error returned is still the following :
php-fpm[4410]: /services_dyndns_edit.php: Curl error occurred: SSL certificate problem: unable to get local issuer certificate
Firefox / IE / Chrome don't give any warnings when surfing to the correct url.
When surfing for the Curl error there are 2 options recomended :
- Skip verification.
- Add root certificate.
At this time I chose to skip the verification and I've added the following line.
However don't really like the solution…
If anybody else has a better fix ?
I've changed the code as following:
case 'eurodns': $needsIP = TRUE; if ($this->_dnsVerboseLog) log_error("EuroDynDns ({$this->_dnsHost}) DNS update() starting."); curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $server = "https://update.eurodyndns.org/update/"; $port = ""; if($this->_dnsPort) $port = ":" . $this->_dnsPort; curl_setopt($ch, CURLOPT_URL, $server .$port . '?hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP); break;
I'll make a github checkin
-
This https://github.com/pfsense/pfsense/pull/1508/files isn't yours ??
I'll post in git to tack the attention back here.