i!=domains.end();
++i)
{
+ if (!(i->hadFileDirective)) {
+ L<<Logger::Warning<<d_logprefix<<" Zone '"<<i->name<<"' has no 'file' directive set in "<<getArg("config")<<endl;
+ rejected++;
+ continue;
+ }
+
if(i->type == "")
L<<Logger::Notice<<d_logprefix<<" Zone '"<<i->name<<"' has no type specified, assuming 'native'"<<endl;
if(i->type!="master" && i->type!="slave" && i->type != "native" && i->type != "") {
void BindParser::commit(BindDomainInfo DI)
{
+ DI.hadFileDirective = (DI.filename != "");
+
if(DI.filename[0]!='/')
DI.filename=d_dir+"/"+DI.filename;