From 04912725d3c92c37d2cfe32b098859650ef9ff47 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Fri, 3 Dec 2021 12:38:25 +0100 Subject: [PATCH] pdnsutil: skip SHA1 DSes except in verbose mode, fixes #11045 --- docs/upgrading.rst | 5 +++++ pdns/pdnsutil.cc | 8 ++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/upgrading.rst b/docs/upgrading.rst index b754d09d70..de34d38030 100644 --- a/docs/upgrading.rst +++ b/docs/upgrading.rst @@ -26,6 +26,11 @@ New default NSEC3 parameters Following `draft-ietf-dnsop-nsec3-guidance (Guidance for NSEC3 parameter settings) `__, the default NSEC3PARAM settings (see :ref:`dnssec-operational-nsec-modes-params`) in pdnsutil are now `1 0 0 -` instead of `1 0 1 ab`. +SHA1 DSes +^^^^^^^^^ + +``pdnsutil show-zone`` and ``pdnsutil export-zone-ds`` no longer emit SHA1 DS records, unless ``--verbose`` is in use. + 4.4.x to 4.5.0 -------------- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index da2e60e7ab..130fc2a4ee 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -1965,7 +1965,9 @@ static bool showZone(DNSSECKeeper& dk, const DNSName& zone, bool exportDS = fals } const std::string prefix(exportDS ? "" : "DS = "); - cout<