summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-12-08 17:17:49 +0545
committerPhil Davis <phil.davis@inf.org>2016-12-08 17:17:49 +0545
commit176d24e1206586cc67888bcbd3a4d947f043a187 (patch)
tree0099fd93a6f78d59a34a34194b899058dfa89860
parent1060378f42e40e19a7d30c560feb902a6f80bedd (diff)
downloadpfsense-176d24e1206586cc67888bcbd3a4d947f043a187.zip
pfsense-176d24e1206586cc67888bcbd3a4d947f043a187.tar.gz
Specify IP to set for zoneedit
-rw-r--r--src/etc/inc/dyndns.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class
index 4ba663c..8f1dcd9 100644
--- a/src/etc/inc/dyndns.class
+++ b/src/etc/inc/dyndns.class
@@ -485,7 +485,7 @@
if ($this->_dnsPort) {
$port = ":" . $this->_dnsPort;
}
- curl_setopt($ch, CURLOPT_URL, "{$server}{$port}?host=" .$this->_dnsHost);
+ curl_setopt($ch, CURLOPT_URL, "{$server}{$port}?host=" . $this->_dnsHost . '&dnsto=' . $this->_dnsIP);
break;
case 'dyns':
$needsIP = FALSE;
OpenPOWER on IntegriCloud