From a4e0952b6ce9a15cffbf05b9a805112585e1e912 Mon Sep 17 00:00:00 2001 From: sjing Date: Fri, 10 Jan 2014 03:00:25 -0500 Subject: [PATCH] Fix for bug 3955. --- xCAT-server/lib/xcat/plugins/ddns.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ddns.pm b/xCAT-server/lib/xcat/plugins/ddns.pm index aa0424bd5..d86b9b1b8 100755 --- a/xCAT-server/lib/xcat/plugins/ddns.pm +++ b/xCAT-server/lib/xcat/plugins/ddns.pm @@ -1003,7 +1003,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";