Hint for making ipv6 named work great
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
dae3eec800
commit
2234fd8eb0
@ -637,6 +637,7 @@ sub update_namedconf {
|
||||
$gotoptions=1;
|
||||
my $skip=0;
|
||||
do {
|
||||
push @newnamed,"\t\t//listen-on-v6 { any; };\n";
|
||||
if ($ctx->{forwarders} and $line =~ /forwarders {/) {
|
||||
push @newnamed,"\tforwarders \{\n";
|
||||
$skip=1;
|
||||
@ -739,6 +740,7 @@ sub update_namedconf {
|
||||
}
|
||||
unless ($gotoptions) {
|
||||
push @newnamed,"options {\n","\tdirectory \"".$ctx->{zonesdir}."\";\n";
|
||||
push @newnamed,"\t\t//listen-on-v6 { any; };\n";
|
||||
if ($ctx->{forwarders}) {
|
||||
push @newnamed,"\tforwarders {\n";
|
||||
foreach (@{$ctx->{forwarders}}) {
|
||||
|
Loading…
Reference in New Issue
Block a user