-@ 86400 IN SOA pdns-public-ns1.powerdns.com. peter\.van\.dijk.powerdns.com. 2023012001 10800 3600 604800 10800
+@ 86400 IN SOA pdns-public-ns1.powerdns.com. peter\.van\.dijk.powerdns.com. 2023013100 10800 3600 604800 10800
@ 3600 IN NS pdns-public-ns1.powerdns.com.
@ 3600 IN NS pdns-public-ns2.powerdns.com.
recursor-4.8.0-rc1.security-status 60 IN TXT "3 Unsupported pre-release (known vulnerabilities)"
recursor-4.8.0.security-status 60 IN TXT "3 Upgrade now, see https://doc.powerdns.com/recursor/security-advisories/powerdns-advisory-2023-01.html"
recursor-4.8.1.security-status 60 IN TXT "1 OK"
+recursor-4.8.2.security-status 60 IN TXT "1 OK"
; 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/"
Changelogs for 4.8.X
====================
+.. changelog::
+ :version: 4.8.2
+ :released: 31th of January 2023
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12475
+ :tickets: 12467
+
+ Do not use "message" as key, it has a special meaning to systemd-journal.
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12457
+ :tickets: 12395
+
+ When using serve-stale, wrong data can be returned from negative cache and record cache (zjs604381586).
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12456
+ :tickets: 12368
+
+ Add the 'parse packet from auth' error message to structured logging.
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12455
+ :tickets: 12352
+
+ Refresh of negcache stale entry might use wrong qtype (zjs604381586).
+
+ .. change::
+ :tags: Improvements
+ :pullreq: 12418
+ :tickets: 12374
+
+ Make cache cleaning of record an negative cache more fair when under pressure.
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12408
+ :tickets: 12407
+
+ Do not chain ECS enabled queries, ity can cause the wrong scope to be used for outgoing queries.
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12346
+ :tickets: 12317
+
+ Fix compilation on FreeBSD. Reported by HellSpawn.
+
+ .. change::
+ :tags: Improvements
+ :pullreq: 12345
+ :tickets: 12333
+
+ Do not report "not decreasing socket buf size" as an error.
+
+ .. change::
+ :tags: Bug Fixes
+ :pullreq: 12344
+ :tickets: 12260
+
+ Properly encode json string containing binary data.
+
.. changelog::
:version: 4.8.1
:released: 20th of January 2023
---------------
Metrics
--------
+^^^^^^^
The way metrics are collected has been changed to increase performance, especially when many thread are used.
This allows for solving a long standing issue that some statistics were not updated on packet cache hits.
This is now resolved, but has the consequence that some metrics (in particular response related ones) changed behaviour as they now also reflect packet cache hits, while they did not before.
Additionally, most ``RCodes`` and ``QTypes`` that are marked ``Unassigned``, ``Reserved`` or ``Obsolete`` by IANA are not accounted, to reduce the memory consumed by these metrics.
+4.8.1 to 4.8.2
+--------------
+
+Cache eviction policy
+^^^^^^^^^^^^^^^^^^^^^
+The cache eviction policy for the record and the negative cache has been improved to not create inbalance between shards.
+The maximum size of the negative cache is now 1/8 of the size of the record cache and its number of shards is 1/8 of the :ref:`setting-record-cache-shards` settting.
+Previously the size was 1/10 of the record cache size and and the number of shards was equal to the
+number of shards of the record cache.
+The ``rec_control dump-cache`` command now prints more information about shards.
+
+
4.7.0 to 4.8.0
--------------