Hi,
   I like to share with you a dirty solution I have found. The error is present when you want to add a zone which will be the one who has the primary and secondary DNS.
   I placed an IF sentence (line 27 of commit.php) asking for THE  zone and add the ns1….. and ns2….. registries in the file.
   Here is an example:

        if ($zone[1] == 'myzone.com.ar') {
                $out .= "ns1       IN      A          192.168.20.2\n";
                $out .= "ns2       IN      A          192.168.20.20\n";
        }

    The error appear in line 39 of commit.php because the BIND could not found the ns1…. and ns2…. because SMBIND creates the zone without they.
    Sorry about my english.