summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-01-03 11:38:36 -0800
committerJim P <jim@pingle.org>2013-01-03 11:38:36 -0800
commit24b78825916851bd374c11bd5227dbf140e0ab78 (patch)
tree8fad22ce59b29d195620606656718dc64ffa4c40
parentd79e9c711ffdb196e05523521d0549259230a7f8 (diff)
parent16fea0ce9611188ad13127600f699152f6e53179 (diff)
downloadpfsense-24b78825916851bd374c11bd5227dbf140e0ab78.zip
pfsense-24b78825916851bd374c11bd5227dbf140e0ab78.tar.gz
Merge pull request #307 from kernelpaniclite/dns.he.net
dynamic dns update url for dns.he.net fixed
-rw-r--r--etc/inc/dyndns.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index caf8770..3710efa 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -434,8 +434,8 @@
log_error("HE.net ({$this->_dnsHost}): DNS update() starting.");
$server = "https://dyn.dns.he.net/nic/update?";
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
- curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsHost . ':' . $this->_dnsPass);
- curl_setopt($ch, CURLOPT_URL, $server . 'hostname=' . $this->_dnsHost);
+ curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
+ curl_setopt($ch, CURLOPT_URL, $server . 'hostname=' . $this->_dnsHost . '&password=' . $this->_dnsPass . '&myip=' . $this->_dnsIP);
break;
case 'he-net-tunnelbroker':
$needsIP = FALSE;
OpenPOWER on IntegriCloud