just tracking down another (maybe) bug.
created a slave zone, output is:
the named-zonecheck fails with:
usage: named-checkzone [-djqvD] [-c class] [-f inputformat] [-F outputformat] [-t directory] [-w directory] [-k (ignore|warn|fail)] [-n (ignore|warn|fail)] [-m (ignore|warn|fail)] [-r (ignore|warn|fail)] [-i (full|full-sibling|local|local-sibling|none)] [-M (ignore|warn|fail)] [-S (ignore|warn|fail)] [-W (ignore|warn)] [-o filename] zonename filename"
after some digging i found out that the $zone_name variable is empty in fuction namedSyntaxChecks https://github.com/WillyXJ/facileManager/blob/master/server/fm-modules/fmDNS/classes/class_buildconf.php#L1028
the variable $zone_files contains:
which then causes the empty $zone_name and the failing named check.
The text was updated successfully, but these errors were encountered:
The source of the problem is several lines above that where $zone_files gets populated and no checks are done to ensure it's a master zone instead of a slave. (https://github.com/WillyXJ/facileManager/blob/master/server/fm-modules/fmDNS/classes/class_buildconf.php#L995).
I'll make a fix for 1.0.2. Thanks.