From: Kees Monshouwer Date: Wed, 14 May 2014 19:33:38 +0000 (+0200) Subject: pdnssec: add 'increase-serial' to secure-all-zones X-Git-Tag: rec-3.6.0-rc1~25^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f84dba01af08b14cc2622f05fe9c7289a26e9533;p=thirdparty%2Fpdns.git pdnssec: add 'increase-serial' to secure-all-zones this option increases SOA serial for new signed zones --- diff --git a/pdns/docs/pdns.xml b/pdns/docs/pdns.xml index a5ec11a2fd..cd0e55a519 100644 --- a/pdns/docs/pdns.xml +++ b/pdns/docs/pdns.xml @@ -13108,7 +13108,8 @@ $ pdnssec rectify-zone powerdnssec.org secure-all-zones - Add keymaterial to all zones. You should manually run 'rectify-all-zones' afterwards. + Add keymaterial to all zones. You should manually run 'rectify-all-zones' afterwards. The 'increase-serial' option + increases the SOA serial for new secured zones. diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 9abd508610..14d51634d2 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -1129,7 +1129,7 @@ try cerr<<"rectify-zone ZONE [ZONE ..] Fix up DNSSEC fields (order, auth)"<= 2 && !pdns_iequals(cmds[1], "increase-serial")) { + cerr << "Syntax: pdnssec secure-all-zones [increase-serial]"< domainInfo; B.getAllDomains(&domainInfo); - dk.startTransaction(); + unsigned int zonesSecured=0, zoneErrors=0; BOOST_FOREACH(DomainInfo di, domainInfo) { if(!dk.isSecuredZone(di.zone)) { cout<<"Securing "<