2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

Merge pull request #4393 from stanford-rc/dns_slave

ddns.pm: specify the "directory" option for DNS slaves too
This commit is contained in:
Yuan Bai 2017-12-14 14:48:12 +08:00 committed by GitHub
commit 71c80b6155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1223,8 +1223,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";
}