Getting this error reloading named on your secondary name server after creating a new zone?
domain.tld.hosts:0: ignoring out-of-zone data (domain.tld)
domain.tld/IN: has 0 SOA records
domain.tld/IN: has no NS records
domain.tld/IN: not loaded due to errors.
_default/domain.tld/IN: bad zone
This probably mean you are missing server “type” for one zone somewhere in your named.conf :
type slave;
Complete config should look like this :
zone "domain.tld" { type slave; file "domain.tld.hosts"; masters { 0.0.0.0; }; };