From 2234fd8eb057675b331c4cbb56e5acb037bfc577 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 21 Jul 2011 14:37:54 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/ddns.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/ddns.pm b/xCAT-server/lib/xcat/plugins/ddns.pm index 7a5f39907..8cac16310 100644 --- a/xCAT-server/lib/xcat/plugins/ddns.pm +++ b/xCAT-server/lib/xcat/plugins/ddns.pm @@ -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}}) {