From 8a8ab4fb31e75fba4018b8310d7c13de1baff572 Mon Sep 17 00:00:00 2001 From: Alex Harpin Date: Fri, 2 Jan 2015 18:39:51 +0000 Subject: vyatta-cfg-system: add dynamic dns support for afraid.org/freedns Add support for using the afraid.org dynamic DNS service with VyOS. This requires the updated ddclient package built for VyOS to work correctly as the version currently in squeeze lacks support for the freedns protocol. Bug #287 http://bugzilla.vyos.net/show_bug.cgi?id=287 --- scripts/dynamic-dns/vyatta-dynamic-dns.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/dynamic-dns') 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"); -- cgit v1.2.3