]>
git.ipfire.org Git - thirdparty/pdns.git/log
Otto Moerbeek [Thu, 12 Mar 2026 13:13:27 +0000 (14:13 +0100)]
Update to current release branch status
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 12 Mar 2026 12:56:55 +0000 (13:56 +0100)]
Typo
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 12 Mar 2026 12:31:53 +0000 (13:31 +0100)]
Some advice: only expose web server on a as-needed basis
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 12 Mar 2026 09:24:36 +0000 (10:24 +0100)]
Merge pull request #16966 from rgacogne/ddist210-beta2
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta2
Pieter Lexis [Thu, 12 Mar 2026 09:12:19 +0000 (10:12 +0100)]
Merge pull request #16944 from pieterlexis/dev-tasks
chore: Add invoke tasks to configure with meson for development
Miod Vallat [Thu, 12 Mar 2026 08:50:00 +0000 (09:50 +0100)]
Merge pull request #16956 from miodvallat/neper
Remove error-prone logger interfaces
Remi Gacogne [Thu, 12 Mar 2026 08:49:06 +0000 (09:49 +0100)]
Merge pull request #16965 from rgacogne/auth-pp-buffer-size
auth: Use the proper size after processing a proxy protocol payload
Miod Vallat [Wed, 11 Mar 2026 15:51:36 +0000 (16:51 +0100)]
Merge pull request #14057 from mind04/auth-catalog-cleanup
Auth: fix a crash and some cleanup in the auth-catalogzone.cc
Miod Vallat [Wed, 11 Mar 2026 14:35:52 +0000 (15:35 +0100)]
Be less scary in logs
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Kees Monshouwer [Fri, 12 Apr 2024 08:50:16 +0000 (10:50 +0200)]
auth: improve changed catalog detection
Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
Kees Monshouwer [Tue, 9 Apr 2024 23:09:57 +0000 (01:09 +0200)]
auth: don't crash when a catalog SOA is invalid
Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
Kees Monshouwer [Tue, 9 Apr 2024 20:35:24 +0000 (22:35 +0200)]
auth: cleanup auth-catalogzone.cc a bit
Signed-off-by: Kees Monshouwer <mind04@monshouwer.org>
Otto Moerbeek [Tue, 10 Mar 2026 09:36:27 +0000 (10:36 +0100)]
Fix two cases of lacking/wrong max size compares (YWH-PGM6095-90)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Wed, 4 Mar 2026 13:33:40 +0000 (14:33 +0100)]
chore(auth): add task to configure auth for dev
Pieter Lexis [Wed, 4 Mar 2026 13:23:56 +0000 (14:23 +0100)]
chore(rec): add task to configure recursor for dev
Miod Vallat [Wed, 11 Mar 2026 06:45:09 +0000 (07:45 +0100)]
Remove unused "verbosity" part of the Logger.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 11 Mar 2026 06:39:31 +0000 (07:39 +0100)]
Remove no longer useful Logger::enabled().
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 11 Mar 2026 06:38:46 +0000 (07:38 +0100)]
Remove no longer used Logr::Absent.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Pieter Lexis [Wed, 4 Mar 2026 12:53:09 +0000 (13:53 +0100)]
chore(dndist): add task to configure dnsdist for dev
Remi Gacogne [Tue, 10 Mar 2026 15:07:56 +0000 (16:07 +0100)]
Merge pull request #16968 from rgacogne/ddist-fix-compression-dname-srv
dnsdist: Fix the use of compression for SRV and DNAME targets
Remi Gacogne [Tue, 10 Mar 2026 14:12:36 +0000 (15:12 +0100)]
dnsdist: Fix the use of compression for SRV and DNAME targets
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 10 Mar 2026 14:04:33 +0000 (15:04 +0100)]
Merge pull request #16967 from rgacogne/ddist-compress-when-changing-name
dnsdist: Compress DNS names when changing the name in a packet
Remi Gacogne [Tue, 10 Mar 2026 12:01:48 +0000 (13:01 +0100)]
dnsdist: Compress DNS names when changing the name in a packet
Otherwise the resulting packet might be bigger than needed.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 10 Mar 2026 11:47:01 +0000 (12:47 +0100)]
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta2
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 10 Mar 2026 09:48:08 +0000 (10:48 +0100)]
auth: Use the proper size after processing a proxy protocol payload
Reported in #YWH-PGM6095-116. While it is a bug, I don't believe it
is a security issue because I'm not aware of any implementation
actually releasing the memory unless `shrink_to_fit()` is called,
and even then it's not always the case. The content of the memory
contains part of the existing query and it is still owned by this
buffer so there is no information disclosure.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Tue, 10 Mar 2026 06:17:20 +0000 (07:17 +0100)]
Merge pull request #16946 from omoerbeek/rec-rpz-defpol-test
rec: add a regresion test for defpol handling
Remi Gacogne [Mon, 9 Mar 2026 14:48:48 +0000 (15:48 +0100)]
DNSWriter: Prevent overflow when generating (too) large DNS packets
The current API expects the caller to check if the current size
exceeds 65535 bytes before calling `commit()`, and potentially
triggers an out-of-bounds write otherwise when `d_sor` wraps around.
This commit adds an additional safety layer ensuring that we do not
write out of bounds even if the caller is not careful enough.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Pieter Lexis [Mon, 9 Mar 2026 13:02:30 +0000 (14:02 +0100)]
Merge pull request #16955 from pieterlexis/lua-headers
auth: Allow adding HTTP Headers in LUA Record ifurlup
Pieter Lexis [Thu, 5 Mar 2026 13:48:53 +0000 (14:48 +0100)]
fix(auth): Properly sort API RRSets by content
For content, we need to lexographically sort. I would have preferred
canonical ordering of the content. But as this point we have strings we
don't need to roundtrip through the parser.
This also adds an RRSet ordering test.
Adrien Delle Cave [Mon, 3 Jan 2022 11:10:12 +0000 (12:10 +0100)]
Sort by content if name and type are equal
Signed-off-by: Adrien Delle Cave <adrien.delle.cave@commandersact.com>
Miod Vallat [Mon, 9 Mar 2026 12:31:48 +0000 (13:31 +0100)]
Merge pull request #16958 from miodvallat/cover_your_log
auth: coverity-induced fixes
Miod Vallat [Mon, 9 Mar 2026 08:51:42 +0000 (09:51 +0100)]
There is no guarantee that the slog initializer is a compile-time constant.
Therefore we can not safely assume it is safe to check its value in other
global constructors.
Reported by Coverity.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 9 Mar 2026 08:48:15 +0000 (09:48 +0100)]
Fix various inefficiencies pointed by Coverity.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 9 Mar 2026 10:48:43 +0000 (11:48 +0100)]
Merge pull request #16959 from omoerbeek/prep-rec-5.4.0
rec: prep for rec-5.4.0 final release
Otto Moerbeek [Thu, 5 Mar 2026 08:46:41 +0000 (09:46 +0100)]
rec: prep for rec-5.4.0 final release
Code equal to rc1, one missed PR in changelog of rc1
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Mon, 9 Mar 2026 05:55:15 +0000 (06:55 +0100)]
Merge pull request #16957 from jsoref/codeql-set-first-query-false-for-next-query
Set `firstQuery` to false for next query
Josh Soref [Sun, 8 Mar 2026 00:52:07 +0000 (19:52 -0500)]
Set firstQuery to false for next query
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Miod Vallat [Fri, 6 Mar 2026 16:30:37 +0000 (17:30 +0100)]
Merge pull request #13360 from stasic/patch-5
Update alias.rst
Pieter Lexis [Tue, 20 Jan 2026 09:28:16 +0000 (10:28 +0100)]
feat(dnsdist): Add instance field to OT Trace messages
And drop hostname as a result.
Pieter Lexis [Fri, 6 Mar 2026 11:58:01 +0000 (12:58 +0100)]
docs(auth): Add suggestions from @miodvallat
Pieter Lexis [Fri, 6 Mar 2026 11:27:47 +0000 (12:27 +0100)]
docs(auth): address review comments
Arsen Stasic [Thu, 12 Oct 2023 06:52:23 +0000 (06:52 +0000)]
Update alias.rst
If a zone is operated with different nameserver software than PowerDNS and ALIAS is used it could result in an out-of-sync sencondary.
Signed-off-by: Arsen Stasic <arsen.stasic@gmail.com>
Miod Vallat [Fri, 6 Mar 2026 10:05:30 +0000 (11:05 +0100)]
Remove logging interfaces which lack a priority.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 6 Mar 2026 10:23:19 +0000 (11:23 +0100)]
Make sure not to use logging interfaces not taking priority by mistake.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Pieter Lexis [Fri, 6 Mar 2026 10:58:09 +0000 (11:58 +0100)]
feat(auth): Allow HTTP Headers in ifurlup requests
Closes: #8295
Closes: #11610
Pieter Lexis [Fri, 6 Mar 2026 10:57:39 +0000 (11:57 +0100)]
feat(auth): Allow arrays in LUA Record config
Pieter Lexis [Fri, 6 Mar 2026 10:53:58 +0000 (11:53 +0100)]
feat: Allow setting HTTP Headers in MiniCurl
Miod Vallat [Fri, 6 Mar 2026 10:19:39 +0000 (11:19 +0100)]
Merge pull request #16954 from miodvallat/slowapi
Remove dead code
Miod Vallat [Fri, 6 Mar 2026 10:13:19 +0000 (11:13 +0100)]
Merge pull request #16693 from miodvallat/log_at_first_sight
auth: structured logging
Miod Vallat [Fri, 6 Mar 2026 09:42:08 +0000 (10:42 +0100)]
Remove dead code.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 6 Mar 2026 06:14:09 +0000 (07:14 +0100)]
Merge pull request #16953 from jsoref/codeql-remove-duplicate-variable-assignment
Remove double assignment
Otto Moerbeek [Thu, 5 Mar 2026 19:40:31 +0000 (20:40 +0100)]
Merge pull request #16952 from jsoref/codeql-remove-stray-udp-query
Remove unnecessary udp query
Josh Soref [Thu, 5 Mar 2026 17:35:43 +0000 (12:35 -0500)]
Remove double assignment
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Thu, 5 Mar 2026 17:30:26 +0000 (12:30 -0500)]
Remove unnecessary udp query
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Miod Vallat [Fri, 27 Feb 2026 14:18:04 +0000 (15:18 +0100)]
Give users the ability to enable structured logging in Auth.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 6 Oct 2025 08:56:08 +0000 (10:56 +0200)]
Structured logging support for the Authoritative server.
Setup a syslog structured logger for pdns-server and pdnsutil,
copied from recursor.
Add structured logging flavour of existing log messages in the
Authoritative server, except in tools (ixfrdist and pdnsutil).
Structured logging is not enabled yet in the server or any of its tools
and can not be enabled yet.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Pieter Lexis [Thu, 5 Mar 2026 16:00:12 +0000 (17:00 +0100)]
Merge pull request #16598 from jsoref/codeql-remove-unused-variables
Codeql remove unused variables
Pieter Lexis [Thu, 5 Mar 2026 15:06:02 +0000 (16:06 +0100)]
Merge pull request #11147 from jsoref/tinydns
doc: clarify tinydns wildcard divergence
Miod Vallat [Thu, 5 Mar 2026 14:39:02 +0000 (15:39 +0100)]
Merge pull request #16947 from miodvallat/tsigarillo
auth: correctly update tsig keys with PostgreSQL
Otto Moerbeek [Thu, 5 Mar 2026 14:35:05 +0000 (15:35 +0100)]
Merge pull request #16949 from omoerbeek/rec-clarify-rpz-defpol
rec: clarify RPZ defpol docs
Miod Vallat [Thu, 5 Mar 2026 13:49:22 +0000 (14:49 +0100)]
Mention gpgsql query change.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Thu, 5 Mar 2026 13:39:15 +0000 (14:39 +0100)]
Merge pull request #16950 from miodvallat/both_but_singular
rec: minor documentation tweak
Pieter Lexis [Thu, 5 Mar 2026 13:38:38 +0000 (14:38 +0100)]
Merge pull request #16948 from pieterlexis/auth-lua-records-positive-weight
auth: Ensure LUA record weights are > 0
Miod Vallat [Thu, 5 Mar 2026 12:55:25 +0000 (13:55 +0100)]
Grammar.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Thu, 5 Mar 2026 12:54:20 +0000 (13:54 +0100)]
Take suggestion from Miod
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 5 Mar 2026 12:50:41 +0000 (13:50 +0100)]
Merge pull request #16831 from miodvallat/dnsnotupdate
auth: stricter handing of the Lua DNS update policy
Otto Moerbeek [Thu, 5 Mar 2026 12:26:42 +0000 (13:26 +0100)]
rec: Add axample for rzpPrimary with defpol=Policy.Custom
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Thu, 5 Mar 2026 10:39:40 +0000 (11:39 +0100)]
fix(auth): check LUA record weights are > 0
Pieter Lexis [Thu, 5 Mar 2026 10:38:21 +0000 (11:38 +0100)]
feat: add `pdns::checked_conv_nonzero`
This function just calls `pdns::checked_conv` and verifies the result is
not `0`.
This commit also adds some basic tests for
`pdns::checked_conv{,nonzero}`.
Otto Moerbeek [Thu, 5 Mar 2026 10:31:35 +0000 (11:31 +0100)]
rec: add a regresion test for defpol handling
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 5 Mar 2026 10:28:00 +0000 (11:28 +0100)]
Update pgsql set-tsig-key query to handle conflicts.
This relies upon a feature introduced in PostgreSQL 9.5, 10 years ago.
We can reasonably assume that distributions people use to run
PowerDNS on those days carry at least that version (which is EOL since
five years now).
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 5 Mar 2026 10:27:30 +0000 (11:27 +0100)]
Clarify comment documenting set-tsig-key limitations.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Wed, 4 Mar 2026 15:30:34 +0000 (16:30 +0100)]
Merge pull request #16942 from omoerbeek/rec-pc-ttl-docs
rec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl
Otto Moerbeek [Wed, 4 Mar 2026 09:54:19 +0000 (10:54 +0100)]
rec docs: fix and improve docs for packetcache.negative_ttl and packetcache.servfail_ttl
Currently there is a quoting issue in packetcache.servfail_ttl, making it render badly.
Also remove the ref to 4.0.0, it's *way* too old.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Pieter Lexis [Tue, 3 Mar 2026 10:29:08 +0000 (11:29 +0100)]
Merge pull request #16939 from pieterlexis/dnsdist-rcoderatio-16934
dnsdist: fix AllowedRCodeRatio with Lua config
Pieter Lexis [Mon, 2 Mar 2026 18:18:25 +0000 (19:18 +0100)]
fix(dnsdist): Lua config DBR w/ AllowedRCodeRatio
@omoerbeek wrote the fix, I added a test.
Closes: #16934
Otto Moerbeek [Mon, 2 Mar 2026 12:16:21 +0000 (13:16 +0100)]
Change chunk_size type to size_t, so that two casts can be removed
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 2 Mar 2026 09:55:03 +0000 (10:55 +0100)]
auth, dnsdist: handle negative chunk sizes correctly
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 2 Mar 2026 09:52:09 +0000 (10:52 +0100)]
Merge pull request #16936 from omoerbeek/rec-qr0-response
rec: drop QR=0 responses from auths
Otto Moerbeek [Thu, 26 Feb 2026 10:43:11 +0000 (11:43 +0100)]
Add tests
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Thu, 26 Feb 2026 14:04:36 +0000 (15:04 +0100)]
Merge pull request #16920 from miodvallat/structured_recursion
plumbing: pass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet.
Miod Vallat [Fri, 20 Feb 2026 13:26:24 +0000 (14:26 +0100)]
Pass a Logr::logr_t down AXFRRetriever and TSIGTCPVerifier. NFC yet.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Thu, 26 Feb 2026 10:42:27 +0000 (11:42 +0100)]
Remove old backward compability cases for broken servers
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 26 Feb 2026 09:06:09 +0000 (10:06 +0100)]
rec: do not treat qr=0 responses lenient
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 25 Feb 2026 12:12:07 +0000 (13:12 +0100)]
rec: continue processing response Policies if a discared policy is hit
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 25 Feb 2026 10:15:50 +0000 (11:15 +0100)]
Merge pull request #16891 from omoerbeek/rec-aggr-cache-wrap
rec: handle NSEC3 records where hash(owner) > hash(next) in aggressive cache decision
Otto Moerbeek [Wed, 25 Feb 2026 09:32:12 +0000 (10:32 +0100)]
Merge pull request #16930 from omoerbeek/rec-tidy-main
Tidy rec-main.??
Miod Vallat [Tue, 24 Feb 2026 15:21:50 +0000 (16:21 +0100)]
Merge pull request #16928 from miodvallat/trim
auth: trim labels faster
Miod Vallat [Mon, 23 Feb 2026 09:26:32 +0000 (10:26 +0100)]
Add faster logic for trimToLabels(0)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Mon, 23 Feb 2026 14:08:42 +0000 (15:08 +0100)]
Tidy rec-main.??
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 23 Feb 2026 11:48:33 +0000 (12:48 +0100)]
Merge pull request #16927 from omoerbeek/rec-tidy-tcp
rec: tidy rec-tcp.cc and fix a type
Otto Moerbeek [Mon, 23 Feb 2026 11:47:44 +0000 (12:47 +0100)]
Merge pull request #16926 from omoerbeek/rec-validate-tidy
Tidy and format valdidate.?? and validate-recursor.??
Otto Moerbeek [Mon, 23 Feb 2026 11:03:57 +0000 (12:03 +0100)]
Merge pull request #16905 from omoerbeek/rec-save-tls-context
rec: save outgoing TLSContext for later re-use
Otto Moerbeek [Mon, 23 Feb 2026 09:45:26 +0000 (10:45 +0100)]
rec: tidy rec-txp.cc and fix a type
Including a type fix: a negative return from parseProxyHeader() is
converted to an unsigned type. This is harmless in the sense that
such a return value will produce the wrong error message as the value
will be interpreted as a very big value, no out of bound access
or similar occurs. The type was wrong since this code was introduced in
95f851d662d5a35ff3fb74f427747f42dd857792 .
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 23 Feb 2026 09:28:42 +0000 (10:28 +0100)]
Tidy and format valdidate.?? and validate-recursor.??
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Mon, 23 Feb 2026 09:13:45 +0000 (10:13 +0100)]
Don't forget to clear saved TLS contexts on (re)load.
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 23 Feb 2026 08:46:49 +0000 (09:46 +0100)]
Merge pull request #16921 from rgacogne/ddist210-b1
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1
Miod Vallat [Fri, 20 Feb 2026 15:37:11 +0000 (16:37 +0100)]
Merge pull request #16919 from miodvallat/obafgkm
auth: remove configurable random generator leftovers, take 2
Remi Gacogne [Tue, 17 Feb 2026 10:10:35 +0000 (11:10 +0100)]
dnsdist: Update ChangeLog and security polling zone for 2.1.0-beta1
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Miod Vallat [Fri, 20 Feb 2026 13:57:47 +0000 (14:57 +0100)]
PDNS_ENABLE_KISS is no more.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>