From: Uwe Kleine-König Date: Thu, 28 Nov 2024 08:28:03 +0000 (+0100) Subject: pdnsutil edit-zone: Emit the updated SOA serial X-Git-Tag: rec-5.2.0-rc1~29^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14900%2Fhead;p=thirdparty%2Fpdns.git pdnsutil edit-zone: Emit the updated SOA serial After a change to a zone pdnsutil offers to increase the serial. Similar to `pdnsutil increase-serial` inform the user about the actual value of the new serial if the increase was agreed to. --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 7b30167cb7..90d309d416 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1338,6 +1338,7 @@ static int editZone(const DNSName &zone, const PDNSColors& col) { changed[{dr.d_name, dr.d_type}]+=str.str(); grouped[{dr.d_name, dr.d_type}].at(0) = dr; + cout<