summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-06-03 00:56:39 +0200
committerMatt Corallo <matt@bluematt.me>2012-05-22 23:58:30 +0200
commit37f3e7041f927d692c7381b8df33d48ae1097cf1 (patch)
tree8b73a811e4abca721d74efbe828310dac7a0847f /etc/inc/services.inc
parentaec0f2fd54bcd617ad469db67fe34937f339936e (diff)
downloadpfsense-37f3e7041f927d692c7381b8df33d48ae1097cf1.zip
pfsense-37f3e7041f927d692c7381b8df33d48ae1097cf1.tar.gz
Add the option to use a custom Dynamic DNS Provider via an Update URL and Result Match.
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r--etc/inc/services.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 91aba0c..f5b2c48 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -1312,10 +1312,13 @@ function services_dyndns_configure_client($conf) {
$dnsBackMX = NULL,
$dnsServer = NULL,
$dnsPort = NULL,
- $dnsUpdateURL = NULL,
+ $dnsUpdateURL = "{$conf['updateurl']}",
$forceUpdate = $conf['force'],
$dnsZoneID=$conf['zoneid'],
- $dnsTTL=$conf['ttl']);
+ $dnsTTL=$conf['ttl'],
+ $dnsResultMatch = "{$conf['resultmatch']}",
+ $dnsRequestIf = "{$conf['requestif']}",
+ $dnsID = "{$conf['id']}");
}
function services_dyndns_configure($int = "") {
OpenPOWER on IntegriCloud