From b3d6c94912e55d12f648b9e3b48f4a561f7bf242 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 12 Sep 2023 09:26:45 +0200 Subject: [PATCH] Prep for rec-5.0.0-alpha1 --- .github/actions/spell-check/expect.txt | 5 + docs/secpoll.zone | 3 +- pdns/recursordist/docs/changelog/5.0.rst | 190 +++++++++++++++++++++ pdns/recursordist/docs/changelog/index.rst | 1 + pdns/recursordist/docs/upgrade.rst | 22 ++- pdns/recursordist/docs/yamlsettings.rst | 2 +- 6 files changed, 219 insertions(+), 4 deletions(-) create mode 100644 pdns/recursordist/docs/changelog/5.0.rst diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt index 1381e213df..b5892c7e8b 100644 --- a/.github/actions/spell-check/expect.txt +++ b/.github/actions/spell-check/expect.txt @@ -82,6 +82,7 @@ axfrfilter Baan backgrounding backported +backticks BADALG BADCOOKIE badips @@ -119,6 +120,7 @@ binddn BINDTODEVICE Binero binlog +bitfield bitmaps bla blackhole @@ -241,6 +243,7 @@ cryptopp cryptoshop csum csync +Cunha custommetrics cve cvename @@ -834,6 +837,7 @@ mrtg msdcs MSDNS msphinx +msrv mtasker mthread Mulholland @@ -1197,6 +1201,7 @@ rsasha Rueckert rulesets runtimedir +rustup Ruthensteiner Rvd rwlock diff --git a/docs/secpoll.zone b/docs/secpoll.zone index e3e021ea31..49b741c2ea 100644 --- a/docs/secpoll.zone +++ b/docs/secpoll.zone @@ -1,4 +1,4 @@ -@ 86400 IN SOA pdns-public-ns1.powerdns.com. peter\.van\.dijk.powerdns.com. 2023090801 10800 3600 604800 10800 +@ 86400 IN SOA pdns-public-ns1.powerdns.com. peter\.van\.dijk.powerdns.com. 2023091300 10800 3600 604800 10800 @ 3600 IN NS pdns-public-ns1.powerdns.com. @ 3600 IN NS pdns-public-ns2.powerdns.com. @@ -358,6 +358,7 @@ recursor-4.9.0-beta1.security-status 60 IN TXT "2 Unsupported recursor-4.9.0-rc1.security-status 60 IN TXT "2 Unsupported pre-release" recursor-4.9.0.security-status 60 IN TXT "1 OK" recursor-4.9.1.security-status 60 IN TXT "1 OK" +recursor-5.0.0-alpha1.security-status 60 IN TXT "1 Unsupported pre-release" ; Recursor Debian recursor-3.6.2-2.debian.security-status 60 IN TXT "3 Upgrade now, see https://doc.powerdns.com/3/security/powerdns-advisory-2015-01/ and https://doc.powerdns.com/3/security/powerdns-advisory-2016-02/" diff --git a/pdns/recursordist/docs/changelog/5.0.rst b/pdns/recursordist/docs/changelog/5.0.rst new file mode 100644 index 0000000000..3532e8b631 --- /dev/null +++ b/pdns/recursordist/docs/changelog/5.0.rst @@ -0,0 +1,190 @@ +Changelogs for 5.0.X +==================== +.. changelog:: + :version: 5.0.0-alpha1 + :released: 13th of September 2023 + + .. change:: + :tags: Improvements + :pullreq: 13008 + + Rewrite settings code, introducing YAML settings file, using Rust and generated code to implement YAML processing + + .. change:: + :tags: Improvements + :pullreq: 13209 + + Make aggressive cache pruning more effective and more fair. + + .. change:: + :tags: Bug Fixes + :pullreq: 13210 + + Remove Before=nss-lookup.target line from unit file. + + .. change:: + :tags: Improvements + :pullreq: 13208 + + Remove make_tuple and make_pair (Rosen Penev). + + .. change:: + :tags: Improvements + :pullreq: 13190 + + Rec: fix a few unused argument warnings (depending on features enabled). + + .. change:: + :tags: Bug Fixes + :pullreq: 13167 + + TCPIOHandler: Fix a race when creating the first TLS connections. + + .. change:: + :tags: Bug Fixes + :pullreq: 13174 + + Rec: Include cstdint in mtasker_ucontext.cc, noted by @zeha. + + .. change:: + :tags: Improvements + :pullreq: 13168 + + Change the default for building with net-snmp from `auto` to `no`. + + .. change:: + :tags: Improvements + :pullreq: 13155 + :tickets: 13147 + + Channel: Make the blocking parameters of the object queue explicit. + + .. change:: + :tags: Improvements + :pullreq: 13102 + + Do not assume the records are in a particular order when determining if an answer is NODATA. + + .. change:: + :tags: Improvements + :pullreq: 13111 + + Document default for `webserver-loglevel` (Frank Louwers). + + .. change:: + :tags: Improvements + :pullreq: 13087 + + Remove unused sysv init files. + + .. change:: + :tags: Improvements + :pullreq: 13092 + + Fixes a few performance issues reported by Coverity. + + .. change:: + :tags: Improvements + :pullreq: 13074 + + Highlight why regression tests failed with github annotation (Josh Soref) + + .. change:: + :tags: Improvements + :pullreq: 13073 + + Switch from deprecated ::set-output (Josh Soref). + + .. change:: + :tags: Improvements + :pullreq: 13067 + + Use backticks in rec_control(1) (Josh Soref). + + .. change:: + :tags: Improvements + :pullreq: 13068 + + Clarify why bulktest is failing (Josh Soref). + + .. change:: + :tags: Improvements + :pullreq: 13043 + :tickets: 13011 + + Set TTL in getFakePTRRecords. + + .. change:: + :tags: Improvements + :pullreq: 13032 + + Update settings.rst -- clarify edns-subnet-allow-list (Seth Arnold). + + .. change:: + :tags: Improvements + :pullreq: 13026 + + Dnsheader: Switch from bitfield to uint16_t whenever possible. + + .. change:: + :tags: Improvements + :pullreq: 12805 + + Clarify log message for NODATA/NXDOMAIN without AA (HÃ¥kan Lindqvist). + + .. change:: + :tags: Improvements + :pullreq: 12913,12931,12999,13001,13022,13175,15197 + + Use arc4random only for random values. + + .. change:: + :tags: Improvements + :pullreq: 12851 + + Update base Debian version in Docker docs (Italo Cunha). + + .. change:: + :tags: Improvements + :pullreq: 12917 + + Delint pdns recursor.cc. + + .. change:: + :tags: Improvements + :pullreq: 12957 + + Include qname when logging skip of step 4 of qname minimization (Doug Freed). + + .. change:: + :tags: Improvements + :pullreq: 12952 + + Fix a set of move optimizations, as suggested by Coverity. + + .. change:: + :tags: Improvements + :pullreq: 12934 + + Silence Coverity 1462719 Unchecked return value from library. + + .. change:: + :tags: Improvements + :pullreq: 12930 + + Fix compile warnings. + + .. change:: + :tags: Improvements + :pullreq: 12913 + + Dns random: add method to get full 32-bits of randomness. + + .. change:: + :tags: Improvements + :pullreq: 12808 + + Reformat and delint arguments.cc and arguments.hh. + + + diff --git a/pdns/recursordist/docs/changelog/index.rst b/pdns/recursordist/docs/changelog/index.rst index 56b0bd0e99..8e2e384b60 100644 --- a/pdns/recursordist/docs/changelog/index.rst +++ b/pdns/recursordist/docs/changelog/index.rst @@ -6,6 +6,7 @@ The changelogs for the recursor are split between release trains. .. toctree:: :maxdepth: 2 + 5.0 4.9 4.8 4.7 diff --git a/pdns/recursordist/docs/upgrade.rst b/pdns/recursordist/docs/upgrade.rst index f1c43ed50f..a786699a99 100644 --- a/pdns/recursordist/docs/upgrade.rst +++ b/pdns/recursordist/docs/upgrade.rst @@ -4,8 +4,26 @@ Upgrade Guide Before upgrading, it is advised to read the :doc:`changelog/index`. When upgrading several versions, please read **all** notes applying to the upgrade. -4.8.0 to 4.9.0 and master -------------------------- +4.9.0 to 5.0.0 and master +-------------------------- + +YAML setings +------------ +Starting with version 5.0.0-alpha1 the settings file(s) can be specified using YAML syntax. +The old-style settings files are still accepted but will be unsupported in a future release. +When a ``recursor.yml`` settings file is encountered it will be processed instead of a ``recursor.conf`` file. +Refer to :doc:`yamlsettings` for details and the :doc:`appendices/yamlconversion` guide for how to convert old-style settings to the new YAML format. + +Rust +---- +Some parts of the Recursor code are now written in Rust. +This has impact if you do local builds or are third-package maintainer. +According to `cargo msrv` the minimum version to compile the Rust code and its dependencies is 1.64. +Some distributions ship with an older Rust compiler, see `Rustup `__ for a way to install a more recent one. +For our package builds, we install a Rust compiler from the ``Standalone`` section of `Other Rust Installation Methods `__. + +4.8.0 to 4.9.0 +-------------- Metrics ^^^^^^^ diff --git a/pdns/recursordist/docs/yamlsettings.rst b/pdns/recursordist/docs/yamlsettings.rst index c81f1dc878..ccaa639cc3 100644 --- a/pdns/recursordist/docs/yamlsettings.rst +++ b/pdns/recursordist/docs/yamlsettings.rst @@ -1095,7 +1095,7 @@ Whether to compute the latency of responses in protobuf messages using the times ^^^^^^^^^^^^^^^^^ - Boolean -- Default: ``yes`` +- Default: ``true`` - Old style setting: :ref:`setting-quiet` -- 2.47.2