mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-27 14:51:10 +00:00
ddns.pm: specify the "directory" option for DNS slaves too (cf. bug #4392)
This commit is contained in:
@@ -1229,8 +1229,8 @@ sub update_namedconf {
|
||||
}
|
||||
unless ($gotoptions) {
|
||||
push @newnamed, "options {\n";
|
||||
push @newnamed, "\tdirectory \"" . $ctx->{zonesdir} . "\";\n";
|
||||
unless ($slave && xCAT::Utils->isLinux()) {
|
||||
push @newnamed, "\tdirectory \"" . $ctx->{zonesdir} . "\";\n";
|
||||
push @newnamed, "\tallow-recursion { any; };\n";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user