summaryrefslogtreecommitdiff
path: root/scripts/dns-forwarding
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dns-forwarding')
-rw-r--r--scripts/dns-forwarding/vyatta-dns-forwarding.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
index 8639a010..73a4bbe4 100644
--- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl
+++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl
@@ -96,7 +96,7 @@ sub dnsforwarding_get_values {
if (@use_nameservers != 0){
$use_dnsmasq_conf = 1;
foreach my $cli_nameserver (@use_nameservers) {
- $output .= "server=$cli_nameserver\n";
+ $output .= "server=$cli_nameserver\t# statically configured\n";
}
}
@@ -113,7 +113,7 @@ sub dnsforwarding_get_values {
}
if (@system_nameservers > 0) {
foreach my $system_nameserver (@system_nameservers) {
- $output .= "server=$system_nameserver\n";
+ $output .= "server=$system_nameserver\t# system\n";
}
}
}
@@ -128,7 +128,7 @@ sub dnsforwarding_get_values {
my @nameserver = split(/ /, $each_nameserver, 2);
my $ns = $nameserver[1];
chomp $ns;
- $output .= "server=$ns\n";
+ $output .= "server=$ns\t# dhcp $interface\n";
}
}
}