2
0
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:
Kilian Cavalotti
2017-11-29 14:22:52 -08:00
parent f564dde262
commit d12631dbd5

View File

@@ -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";
}