the fix for hostname alias
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11592 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
58511e94d6
commit
e77d5efd6c
@ -1034,6 +1034,12 @@ sub find_nameserver_for_dns {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (defined $ctx->{aliases}->{$node}) {
|
||||
foreach (keys %{$ctx->{aliases}->{$node}}) {
|
||||
push @rrcontent, "$_ IN CNAME $name";
|
||||
}
|
||||
}
|
||||
if ($ctx->{deletemode}) {
|
||||
push @rrcontent,"$name TXT";
|
||||
push @rrcontent,"$name A";
|
||||
|
Loading…
Reference in New Issue
Block a user