(unless default-soa-content specifies a nonzero serial number or
default-soa-edit is empty or NONE)
Use this soa-edit value for all zones if no
:ref:`metadata-soa-edit` metadata value is set.
+This is used by :doc:`pdnsutil increase-serial <manpages/pdnsutil.1>`.
.. _setting-default-soa-edit-signed:
di.backend->commitTransaction();
+ // Zone is not secured yet, suggest applying default-soa-edit rule to the
+ // serial number, if applicable.
+ if (sd.serial == 0) {
+ string edit_kind = ::arg()["default-soa-edit"];
+ if (!edit_kind.empty() && !pdns_iequals(edit_kind, "NONE")) {
+ cout << "Consider invoking 'pdnsutil increase-serial " << zone << "'" << endl;
+ }
+ }
+
return EXIT_SUCCESS;
}