diff --git a/db/dhcpd_makeconf.in b/db/dhcpd_makeconf.in index a3c5f4db2d661e4649f14bcce84a0ba1b96db362..c6734f0c5007a901ba14449e0aaa5907c043a54b 100755 --- a/db/dhcpd_makeconf.in +++ b/db/dhcpd_makeconf.in @@ -209,6 +209,7 @@ while (<IF>) { my $node_id; my $next_server = ""; my $hostname = ""; + my $dns = ""; if ($vnames && defined($row{"vname"})) { $node_id = $row{"vname"}; @@ -224,6 +225,7 @@ while (<IF>) { $next_server = "${spaces}\tnext-server " . $bossnodes{$tag} . ";\n"; + $dns = "${spaces}\toption domain-name-servers 1.1.1.1;\n"; } else { $hostname = @@ -235,6 +237,7 @@ while (<IF>) { print $OUT "${spaces}host $ip {\n"; print $OUT $next_server; + print $OUT $dns; print $OUT "${spaces}\thardware ethernet $mac;\n"; print $OUT $hostname; print $OUT "${spaces}\tfixed-address $ip;\n";