The user provided fix for makedns issue of domain without dots, introduced new bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
00a10e2bbb
commit
eea5c1c769
@ -922,9 +922,10 @@ sub add_or_delete_records {
|
||||
$ctx->{currnode}=$node;
|
||||
$ctx->{currname}=$name;
|
||||
$ctx->{currrevname}=$ip;
|
||||
unless ($domain =~ /\.$/) { $domain = $domain.'.'; } #example.com becomes example.com.
|
||||
my $tmpdm;
|
||||
unless ($domain =~ /\.$/) { $tmpdm = $domain.'.'; } #example.com becomes example.com.
|
||||
find_nameserver_for_dns($ctx,$revzone);
|
||||
find_nameserver_for_dns($ctx,$domain);
|
||||
find_nameserver_for_dns($ctx,$tmpdm);
|
||||
}
|
||||
}
|
||||
my $zone;
|
||||
|
Loading…
Reference in New Issue
Block a user