diff --git a/xCAT-server/lib/xcat/plugins/ddns.pm b/xCAT-server/lib/xcat/plugins/ddns.pm index 84b73b652..ee048d0ad 100755 --- a/xCAT-server/lib/xcat/plugins/ddns.pm +++ b/xCAT-server/lib/xcat/plugins/ddns.pm @@ -999,7 +999,7 @@ sub update_namedconf { } unless ($gotoptions) { push @newnamed,"options {\n"; - unless ($slave) { + unless ($slave && xCAT::Utils->isLinux()) { push @newnamed,"\tdirectory \"".$ctx->{zonesdir}."\";\n"; } push @newnamed,"\t\t//listen-on-v6 { any; };\n";