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:
jbjohnso 2011-07-21 14:37:54 +00:00
parent dae3eec800
commit 2234fd8eb0

View File

@ -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}}) {