From bf52052bec565cd655a3a910aa3193c5bb8aa3ad Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 9 Jun 2010 18:53:46 +0000 Subject: [PATCH] -Correct db. for full domain name files git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6414 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/dns.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/dns.pm b/xCAT-server/lib/xcat/plugins/dns.pm index e36f9125e..803046602 100644 --- a/xCAT-server/lib/xcat/plugins/dns.pm +++ b/xCAT-server/lib/xcat/plugins/dns.pm @@ -397,7 +397,7 @@ sub update_namedconf { } else { my $zfilename = $currzone; - $zfilename =~ s/\..*//; + #$zfilename =~ s/\..*//; push @newnamed,"\t};\n","\tfile \"db.$zfilename\";\n","};\n"; } } else { @@ -473,7 +473,7 @@ sub update_namedconf { } else { my $zfilename = $zone; - $zfilename =~ s/\..*//; + #$zfilename =~ s/\..*//; push @newnamed,"\t};\n","\tfile \"db.$zfilename\";\n","};\n"; } } @@ -485,7 +485,7 @@ sub update_namedconf { push @newnamed,"\t\t$_;\n"; } my $zfilename = $zone; - $zfilename =~ s/\..*//; + #$zfilename =~ s/\..*//; push @newnamed,"\t};\n","\tfile \"db.$zfilename\";\n","};\n\n"; } my $newnameconf;