}
}
- di.backend->commitTransaction();
- di.backend->setFresh(domain_id);
- PC.purge(domain+"$");
-
// now we also need to update the presigned flag and NSEC3PARAM
// for the zone
if (gotPresigned) {
dk.unsetNSEC3PARAM(domain);
}
+ di.backend->commitTransaction();
+ di.backend->setFresh(domain_id);
+ PC.purge(domain+"$");
+
L<<Logger::Error<<"AXFR done for '"<<domain<<"', zone committed with serial number "<<soa_serial<<endl;
if(::arg().mustDo("slave-renotify"))
--cache-ttl=0 --no-config --bind-dnssec-db=./dnssec-slave.sqlite3 &
echo 'waiting for zones to be loaded'
bindwait bind-slave
- echo 'reloading zones to work around metadata bug'
- for zone in $(grep zone named.conf | cut -f2 -d\")
- do
- ../pdns/pdns_control --no-config --socket-dir=. --config-name=bind-slave bind-reload-now $zone
- done
fi
fi