mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-12 00:00:12 +00:00
support domain without dot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
@ -874,6 +874,7 @@ sub add_or_delete_records {
|
||||
$ctx->{currnode}=$node;
|
||||
$ctx->{currname}=$name;
|
||||
$ctx->{currrevname}=$ip;
|
||||
unless ($domain =~ /\.$/) { $domain = $domain.'.'; } #example.com becomes example.com.
|
||||
find_nameserver_for_dns($ctx,$revzone);
|
||||
find_nameserver_for_dns($ctx,$domain);
|
||||
}
|
||||
|
Reference in New Issue
Block a user