and ``set-publish-cds``. For an example for an :rfc:`7344` key rollover,
see the :doc:`guides/kskrollcdnskey`.
+.. _metadata-slave-renotify:
+
+SLAVE-RENOTIFY
+--------------
+.. versionadded:: 4.3.0
+
+If set to 1, will make PowerDNS renotify the slaves after an AXFR is received from a master.
+Any other value means that no renotifies are done. If not set at all, action will depend on
+the :ref:`setting-slave-renotify` setting.
+
.. _metadata-soa-edit:
SOA-EDIT
*received* from a master. This is useful when using when running a
signing-slave.
+See :ref:`metadata-slave-renotify` to set this per-zone.
+
.. _setting-soa-expire-default:
``soa-expire-default``
g_log<<Logger::Error<<"AXFR done for '"<<domain<<"', zone committed with serial number "<<zs.soa_serial<<endl;
+
+ bool renotify = false;
if(::arg().mustDo("slave-renotify"))
+ renotify = true;
+ vector<string> meta;
+ if (B.getDomainMetadata(domain, "SLAVE-RENOTIFY", meta) && meta.size() > 0) {
+ if (meta[0] == "1") {
+ renotify = true;
+ } else {
+ renotify = false;
+ }
+ }
+ if(renotify)
notifyDomain(domain);
}
catch(DBException &re) {