diff --git a/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm b/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm index e44ad6edd..fc53d0a11 100644 --- a/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm +++ b/xCAT-server-2.0/lib/xcat/plugins/DNSsn.pm @@ -98,11 +98,7 @@ sub setup_DNS } $cmd = "service named stop"; xCAT::Utils->runcmd($cmd, -1); - if ($::RUNCMD_RC != 0) - { - xCAT::MsgUtils->message("S", "Error from $cmd"); - return 1; - } + $cmd = "service named start"; xCAT::Utils->runcmd($cmd, -1); if ($::RUNCMD_RC != 0)