Actions
Bug #8014
closedDynDNS wildcard option doesn't work for provider Loopia
Start date:
10/26/2017
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.1
Affected Architecture:
Description
The DynDNS wildcard option doesn't work for provider Loopia.
It seems that this line never results in $this->_dnsWildcard being set to "ON":
if (isset($this->_dnsWildcard) && $this->_dnsWildcard != "OFF") $this->_dnsWildcard = "ON";
The same check is done for many providers, so maybe this problem doesn't only affect Loopia.
Here's a fix for Loopia, that works for me at least:
case 'loopia': $needsIP = TRUE; if(isset($this->_dnsWildcard) && $this->_dnsWildcard == TRUE) { $this->_dnsWildcard = "ON"; } else { $this->_dnsWildcard = "OFF"; } curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass); curl_setopt($ch, CURLOPT_URL, 'https://dyndns.loopia.se/?system=custom&hostname=' . $this->_dnsHost . '&myip=' . $this->_dnsIP . '&wildcard=' . $this->_dnsWildcard . '&mx=' . $this->_dnsMX . '&backmx=NO'); break;
Please note that the host(CURLOPT_URL) is changed to https://dyndns.loopia.se, as stated on Loopia's support page:
https://translate.google.se/translate?sl=sv&tl=en&js=y&prev=_t&hl=sv&ie=UTF-8&u=https%3A%2F%2Fsupport.loopia.se%2Fwiki%2Fom-dyndns-stodet%2F&edit-text=
Also reported in this forum thread:
https://forum.pfsense.org/index.php?topic=138826.0
Actions