summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/dynamic-dns/vyatta-dynamic-dns.pl1
-rw-r--r--templates/service/dns/dynamic/interface/node.tag/service/node.def4
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/dynamic-dns/vyatta-dynamic-dns.pl b/scripts/dynamic-dns/vyatta-dynamic-dns.pl
index 59495f99..8788730f 100755
--- a/scripts/dynamic-dns/vyatta-dynamic-dns.pl
+++ b/scripts/dynamic-dns/vyatta-dynamic-dns.pl
@@ -109,6 +109,7 @@ sub dynamicdns_get_values {
my @services = $config->listNodes("service");
foreach my $service (@services) {
$config->setLevel("service dns dynamic interface $interface service $service");
+ $service="freedns" if ($service eq "afraid");
$service="dslreports1" if ($service eq "dslreports");
$service="dyndns2" if ($service eq "dyndns");
$service="zoneedit1" if ($service eq "zoneedit");
diff --git a/templates/service/dns/dynamic/interface/node.tag/service/node.def b/templates/service/dns/dynamic/interface/node.tag/service/node.def
index 2bdb796a..0795ceac 100644
--- a/templates/service/dns/dynamic/interface/node.tag/service/node.def
+++ b/templates/service/dns/dynamic/interface/node.tag/service/node.def
@@ -2,7 +2,7 @@ tag:
help: Service being used for Dynamic DNS [REQUIRED]
type: txt
syntax:expression: exec "
- service_array=(dnspark dslreports dyndns easydns namecheap sitelutions zoneedit)
+ service_array=(afraid dnspark dslreports dyndns easydns namecheap sitelutions zoneedit)
service_array_len=${#service_array[*]}
i=0
while [ $i -lt $service_array_len ]; do
@@ -15,7 +15,7 @@ syntax:expression: exec "
exit 1 "
allowed: local -a array ;
- array=(dnspark dslreports dyndns easydns namecheap sitelutions zoneedit);
+ array=(afraid dnspark dslreports dyndns easydns namecheap sitelutions zoneedit);
echo -n ${array[@]}
commit:expression: $VAR(./@/login) != ""; "Set login for service $VAR(./@) to send DDNS updates for interface $VAR(../@)"