summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";