summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2010-05-10 12:54:56 +0200
committersmos <seth.mos@dds.nl>2010-05-10 12:55:50 +0200
commit6bccf4caa7cf4203ac06c3dfd4550d35803acf80 (patch)
treeb29a8a24ed86a13d2ac77eb0db7358af8ef7a12e /etc/inc/dyndns.class
parenta832b9017a5051ba289dada4bbe71d4344ce43ac (diff)
downloadpfsense-6bccf4caa7cf4203ac06c3dfd4550d35803acf80.zip
pfsense-6bccf4caa7cf4203ac06c3dfd4550d35803acf80.tar.gz
Make sure to send the hostname as part of the openDNS update process
Fix ticket #552
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 29011fb..bf442fb 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -375,7 +375,7 @@
if (isset($this->_dnsWildcard) && $this->_dnsWildcard != "OFF") $this->_dnsWildcard = "ON";
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_USERPWD, $this->_dnsUser.':'.$this->_dnsPass);
- $server = "https://updates.opendns.com/nic/update?hostname=";
+ $server = "https://updates.opendns.com/nic/update?hostname=". $this->_dnsHost;
$port = "";
if($this->_dnsServer)
$server = $this->_dnsServer;
OpenPOWER on IntegriCloud