summaryrefslogtreecommitdiff
path: root/scripts/dynamic-dns
diff options
context:
space:
mode:
authorkouak <kouak@kouak.org>2015-02-23 01:07:34 +0100
committerkouak <kouak@kouak.org>2015-02-23 10:36:28 +0100
commit2fbe5a5564740218ab9d65dfcb6e4354656acace (patch)
tree77bdf5ed1123d6aa87430c98612554f4a1a2d4c9 /scripts/dynamic-dns
parent38e9c493853e2e1b822bdbad0896275bb46fdf6c (diff)
downloadvyatta-cfg-system-2fbe5a5564740218ab9d65dfcb6e4354656acace.tar.gz
vyatta-cfg-system-2fbe5a5564740218ab9d65dfcb6e4354656acace.zip
Fix a bug in rfc2136 import
Diffstat (limited to 'scripts/dynamic-dns')
-rwxr-xr-xscripts/dynamic-dns/vyatta-dynamic-dns.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dynamic-dns/vyatta-dynamic-dns.pl b/scripts/dynamic-dns/vyatta-dynamic-dns.pl
index e8aedae8..0b2119d4 100755
--- a/scripts/dynamic-dns/vyatta-dynamic-dns.pl
+++ b/scripts/dynamic-dns/vyatta-dynamic-dns.pl
@@ -146,7 +146,7 @@ sub dynamicdns_get_values {
my $zone = $config->returnValue("zone");
foreach my $record (@records) {
- $output .= "server=$server\n";
+ $output .= "server=$nsserver\n";
$output .= "protocol=nsupdate\n";
$output .= "password=$key_file\n";
$output .= "ttl=$ttl\n";