]>
git.ipfire.org Git - thirdparty/pdns.git/log
Miod Vallat [Mon, 7 Jul 2025 09:36:12 +0000 (11:36 +0200)]
Merge pull request #15792 from miodvallat/auth496
auth-4.9.7 secpoll & changelog
Miod Vallat [Mon, 7 Jul 2025 08:35:51 +0000 (10:35 +0200)]
Document ill-fated 4.9.6 so that people aren't surprised too much.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Mon, 7 Jul 2025 07:12:32 +0000 (09:12 +0200)]
Turns out it will be called 4.9.7
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 4 Jul 2025 12:12:18 +0000 (14:12 +0200)]
Due to technical difficulties™, the release is postponed.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 4 Jul 2025 10:08:45 +0000 (12:08 +0200)]
Merge pull request #15791 from miodvallat/udon
lmdb NSEC3 record handling hygiene bugfix
Miod Vallat [Fri, 4 Jul 2025 09:34:53 +0000 (11:34 +0200)]
Merge pull request #15793 from bagasme/pdnsutil-ref-fix
pdns: Fix pdnsutil cross-references
Bagas Sanjaya [Fri, 4 Jul 2025 08:13:51 +0000 (15:13 +0700)]
pdns: Fix pdnsutil cross-references
Sphinx reports unknown document warnings when building html-docs:
docs/backends/generic-sql.rst:104: WARNING: unknown document: pdnsutil
docs/backends/geoip.rst:94: WARNING: unknown document: pdnsutil
docs/changelog/4.0.rst:398: WARNING: unknown document: pdnsutil
docs/changelog/4.0.rst:420: WARNING: unknown document: pdnsutil
docs/changelog/4.1.rst:3: WARNING: unknown document: pdnsutil
docs/changelog/4.1.rst:3: WARNING: unknown document: pdnsutil
docs/changelog/4.1.rst:1: WARNING: unknown document: pdnsutil
docs/changelog/4.7.rst:15: WARNING: unknown document: pdnsutil
docs/changelog/4.7.rst:15: WARNING: unknown document: pdnsutil
docs/changelog/4.7.rst:16: WARNING: unknown document: pdnsutil
docs/changelog/4.7.rst:9: WARNING: unknown document: pdnsutil
docs/guides/basic-database.rst:80: WARNING: unknown document: pdnsutil
docs/guides/basic-database.rst:80: WARNING: unknown document: pdnsutil
docs/guides/basic-database.rst:80: WARNING: unknown document: pdnsutil
docs/running.rst:114: WARNING: unknown document: pdnsutil
docs/upgrading.rst:58: WARNING: unknown document: pdnsutil
Fix references to pdnsutil(1) manpage.
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Miod Vallat [Fri, 4 Jul 2025 08:12:43 +0000 (10:12 +0200)]
auth-4.9.6 secpoll & changelog
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 4 Jul 2025 07:39:10 +0000 (09:39 +0200)]
On second thought, revert
2a8a5c7629984e51b717494a23c0c6651de0b030 .
We are only removing ENT when we know for sure that there are other
records for that name, so there is no risk of orphaning NSEC3 chains.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 4 Jul 2025 07:26:22 +0000 (09:26 +0200)]
Only remove NSEC3 pairs when removing ENT if there are no other records.
This logic was added in
2a8a5c7629984e51b717494a23c0c6651de0b030 but is
too aggressive.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Fri, 4 Jul 2025 04:59:12 +0000 (06:59 +0200)]
Merge pull request #15789 from jsoref/disable-sarif
Disable check-spelling sarif for PowerDNS/pdns
Josh Soref [Fri, 4 Jul 2025 03:30:10 +0000 (23:30 -0400)]
Disable check-spelling sarif for PowerDNS/pdns
- At present, it's too complicated to rely on rulesets in combination
with `pull_request` so it makes sense to turn it off for the main
repository.
- Leave SARIF reporting enabled by default for repositories other than
PowerDNS/pdns.
- When active, public repositories will need to add a code scanning
ruleset if they want to use pull requests that are not cross-forks
and they should not accept pull requests from forks as processing
won't work.
- For private repositories, unless you're using GHEC and paying for
Advanced Security, you'll want to set a repository actions variable
`DO_NOT_USE_SARIF_REPORTING` (see `/settings/variables/actions`) to
`1` to disable SARIF.
- This commit fixes the logic for that.
Miod Vallat [Thu, 3 Jul 2025 14:49:41 +0000 (16:49 +0200)]
Merge pull request #15767 from miodvallat/nsecticide
lmdb NSEC3 record handling hygiene
Miod Vallat [Thu, 3 Jul 2025 12:19:51 +0000 (14:19 +0200)]
Only add NSEC3 record pairs in updateDNSSECOrderNameAndAuth() if doing NSEC3.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 3 Jul 2025 10:48:52 +0000 (12:48 +0200)]
Also remove NSEC3 record pairs when removing ENT.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 3 Jul 2025 05:26:55 +0000 (07:26 +0200)]
Do not attempt to write NSEC3 pairs pointing to ourselves.
The second record from the pair would end up overwriting the first one,
which could confuse the logic assuming pairs are always well-formed.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 2 Jul 2025 10:30:54 +0000 (12:30 +0200)]
Simplify updateDNSSECOrderNameAndAuth() further wrt NSEC3 chains.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 2 Jul 2025 10:20:44 +0000 (12:20 +0200)]
Make sure we never leave dangling NSEC33333333333333333333333 chains in replaceRRSet().
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 2 Jul 2025 10:18:25 +0000 (12:18 +0200)]
Simplify NSEC3 chain update logic in updateDNSSECOrderNameAndAuth()...
...now that writeNSEC3RecordPair() can handle updates correctly.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Thu, 3 Jul 2025 13:34:43 +0000 (15:34 +0200)]
Merge pull request #15782 from omoerbeek/rec-pubsuffix-dist
rec: Only download pub suffix list if pubsuffix.cc is not available
Miod Vallat [Wed, 2 Jul 2025 10:13:31 +0000 (12:13 +0200)]
Tweak logic in updateDNSSECOrderNameAndAuth(). NFC
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 2 Jul 2025 10:11:56 +0000 (12:11 +0200)]
Make sure writeNSEC3RecordPair() does not leave dangling chains.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Wed, 2 Jul 2025 10:22:42 +0000 (12:22 +0200)]
Really avoid using d_rwtxn in writeNSEC3RecordPair().
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Miod Vallat [Thu, 3 Jul 2025 12:15:44 +0000 (14:15 +0200)]
Plumbing to let updateDNSSECOrderNameAndAuth tell NSEC apart from NSEC3.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Remi Gacogne [Thu, 3 Jul 2025 08:12:47 +0000 (10:12 +0200)]
Merge pull request #15768 from bagasme/dnsdist-dot-yml
dnsdist: DoT docs update (YAML config)
Otto Moerbeek [Thu, 3 Jul 2025 08:11:01 +0000 (10:11 +0200)]
Fix mkpubsuffix call to pass one argument
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 08:05:48 +0000 (10:05 +0200)]
rm now handled by trap
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 08:05:08 +0000 (10:05 +0200)]
Apply suggestions from code review from Miod
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 3 Jul 2025 07:42:48 +0000 (09:42 +0200)]
A litle bit more logging, so it's easier to see what's going on
It looks like meson hides build steps if they do not produce any output
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Bagas Sanjaya [Wed, 2 Jul 2025 23:31:21 +0000 (06:31 +0700)]
dnsdist: Add YAML version of DoT configurations
Convert incoming and outgoing DoT lua snippets to YAML format.
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Bagas Sanjaya [Wed, 2 Jul 2025 23:30:54 +0000 (06:30 +0700)]
dnsdist: Update outgoing DNS-over-TLS/HTTPS support status
Support for outgoing DNS-over-TLS and DNS-over-HTTPS has been around
since version 1.7.0, but its status in the docs has not been updated
since then.
Update the status.
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Otto Moerbeek [Wed, 2 Jul 2025 11:37:10 +0000 (13:37 +0200)]
Merge pull request #15766 from omoerbeek/rec-coverity-
20250702
rec: fix two Coverity reported resource leaks and add release() to FDWrapper
Miod Vallat [Wed, 2 Jul 2025 10:08:09 +0000 (12:08 +0200)]
Merge pull request #15764 from miodvallat/unsec3break
fix coverity-reported stupid lmdb bug
Otto Moerbeek [Wed, 2 Jul 2025 09:14:08 +0000 (11:14 +0200)]
rec: fix two Coverity reported resource leaks and add release() to FDWrapper()
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 2 Jul 2025 09:08:48 +0000 (11:08 +0200)]
Merge pull request #15763 from omoerbeek/auth-tsig-arc4random_buf
auth: Use arc4random(void *, size) in TSIG generation
Otto Moerbeek [Wed, 2 Jul 2025 08:35:34 +0000 (10:35 +0200)]
Also adapt autotool build
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 2 Jul 2025 08:25:36 +0000 (10:25 +0200)]
Don't save the .dat file, only the generated pubsuffix.cc
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 2 Jul 2025 07:48:13 +0000 (09:48 +0200)]
rec: only include generated pubsuffix.cc in dist file
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Wed, 2 Jul 2025 07:39:20 +0000 (09:39 +0200)]
Also use new dns_random(void *, size_t) for client cookie
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Miod Vallat [Wed, 2 Jul 2025 04:27:07 +0000 (06:27 +0200)]
Merge pull request #15577 from jsoref/check-spelling-0.0.25
Upgrade check-spelling to v0.0.25
Miod Vallat [Tue, 1 Jul 2025 19:29:56 +0000 (21:29 +0200)]
Pass an explicit RecordsRWTransaction to writeNSEC3RecordPair.
Otherwise it would use d_rwtxn, which could be nullptr sometimes if
invoked invoked from updateDNSSECOrderNameAndAuth.
Regression introduced in
91df390a5583bfacb5fb7e646c03916da8afc477 , reported
by Coverity.
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
Peter van Dijk [Tue, 1 Jul 2025 19:57:05 +0000 (21:57 +0200)]
Merge pull request #15757 from Habbie/a-view-to-a-catz
views/catz: one bugfix plus some words
Otto Moerbeek [Tue, 1 Jul 2025 14:31:56 +0000 (16:31 +0200)]
Merge pull request #15756 from omoerbeek/rec-coverity-
20250626
rec: coverity
20250626
Josh Soref [Tue, 20 May 2025 12:22:14 +0000 (08:22 -0400)]
Upgrade check-spelling to v0.0.25
Refresh metadata based on
https://github.com/check-spelling/spell-check-this/commit/
8749d8d8b30b5dfb272ae9b4579c07a8165fc273
- SARIF reporting is enabled by default
- When active, public repositories will need to add a code scanning ruleset
- For private repositories, unless you're using GHEC and paying for Advanced Security, you'll want to set a repository actions variable `DO_NOT_USE_SARIF_REPORTING` (see `/settings/variables/actions`) to `1` to disable SARIF
- Extend checking
- `.rst` docs
- pdns/dnsdistdist/dnsdist-settings-definitions.yml
Josh Soref [Tue, 20 May 2025 15:03:31 +0000 (11:03 -0400)]
spelling: www.linuxnetworks.de
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:35:32 +0000 (11:35 -0400)]
spelling: www.infosecinstitute.com
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:20:28 +0000 (11:20 -0400)]
spelling: www.gutenberg.org
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 14:12:57 +0000 (10:12 -0400)]
spelling: web.archive.org
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:45:57 +0000 (08:45 -0400)]
spelling: was
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:53:00 +0000 (08:53 -0400)]
spelling: to
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:14:29 +0000 (11:14 -0400)]
spelling: sourceware.org
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:13:14 +0000 (11:13 -0400)]
spelling: sourceforge.io
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:51:45 +0000 (08:51 -0400)]
spelling: setup,
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:50:55 +0000 (08:50 -0400)]
spelling: set up
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 14:41:49 +0000 (10:41 -0400)]
spelling: restriction
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:46:12 +0000 (08:46 -0400)]
spelling: red hat
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:42:14 +0000 (09:42 -0400)]
spelling: pdns
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:45:06 +0000 (08:45 -0400)]
spelling: otherwise,
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 1 Jul 2025 13:13:44 +0000 (09:13 -0400)]
spelling: or
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:29:25 +0000 (11:29 -0400)]
spelling: metronome.powerdns.com
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:21:47 +0000 (11:21 -0400)]
spelling: mailarchive.ietf.org
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 23 May 2025 12:05:16 +0000 (08:05 -0400)]
spelling: incompatibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:35:22 +0000 (09:35 -0400)]
spelling: https
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:20:39 +0000 (09:20 -0400)]
spelling: geoip backend
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:47:26 +0000 (08:47 -0400)]
spelling: for
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:49:23 +0000 (08:49 -0400)]
spelling: fall back
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 14:36:36 +0000 (10:36 -0400)]
spelling: export
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:16:03 +0000 (11:16 -0400)]
spelling: evanjones.ca
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:48:43 +0000 (08:48 -0400)]
spelling: equal
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 1 Jul 2025 13:13:12 +0000 (09:13 -0400)]
spelling: “edited_serial”
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 1 Jul 2025 13:12:31 +0000 (09:12 -0400)]
spelling: big-endian
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 14:03:22 +0000 (10:03 -0400)]
spelling: berthub.eu
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 14:05:52 +0000 (10:05 -0400)]
spelling: bert-hubert.blogspot.com
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:28:00 +0000 (09:28 -0400)]
spelling: benchmarking
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:26:14 +0000 (09:26 -0400)]
spelling: addresses
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:26:00 +0000 (09:26 -0400)]
spelling: additional
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:41:26 +0000 (08:41 -0400)]
spelling: a
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:52:34 +0000 (09:52 -0400)]
spelling:
8b1ed87
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 13:43:29 +0000 (09:43 -0400)]
spelling: 30
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 12:31:02 +0000 (08:31 -0400)]
spelling: ; otherwise,
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 1 Jul 2025 13:14:54 +0000 (09:14 -0400)]
spelling: , or
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Tue, 20 May 2025 15:45:05 +0000 (11:45 -0400)]
Remove obsolete download links
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Otto Moerbeek [Tue, 1 Jul 2025 12:15:28 +0000 (14:15 +0200)]
auth: Use arc4random(void *, size) in TSIG generation
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 1 Jul 2025 11:57:10 +0000 (13:57 +0200)]
Merge pull request #15758 from omoerbeek/rec-listen-v6-by-default
rec: start to listen on ::1 by default, but don't consider it an error if that fails
Otto Moerbeek [Tue, 1 Jul 2025 11:17:36 +0000 (13:17 +0200)]
Remove no longer relevant comment
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Tue, 1 Jul 2025 11:08:23 +0000 (13:08 +0200)]
Merge pull request #15683 from PowerDNS/dependabot/pip/regression-tests.dnsdist/protobuf-6.31.1
build(deps): bump protobuf from 6.30.2 to 6.31.1 in /regression-tests.dnsdist
Remi Gacogne [Tue, 1 Jul 2025 10:26:57 +0000 (12:26 +0200)]
Merge pull request #15754 from rgacogne/ddist-warn-on-backend-certificate-validation-without-subject-name
dnsdist: Error if backend certificate validation is enabled without a subject name
Remi Gacogne [Tue, 1 Jul 2025 10:26:44 +0000 (12:26 +0200)]
Merge pull request #15747 from rgacogne/ddist-get-object-from-yaml-config
dnsdist: Add a Lua binding to get objects declared in YAML
Peter van Dijk [Tue, 1 Jul 2025 09:46:01 +0000 (11:46 +0200)]
document current views/catz interaction situation
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Tue, 1 Jul 2025 09:51:10 +0000 (11:51 +0200)]
Only allow the failure if the incoming.listen settings is default
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Peter van Dijk [Tue, 1 Jul 2025 08:57:57 +0000 (10:57 +0200)]
catz producer: encode ZoneNames without their variants
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Otto Moerbeek [Tue, 3 Jun 2025 14:56:38 +0000 (16:56 +0200)]
rec: start to listen on ::1 by default, but don't consider it an error if it fails
Remi Gacogne [Tue, 1 Jul 2025 08:51:32 +0000 (10:51 +0200)]
Merge pull request #15751 from rgacogne/ddist-yaml-error-on-unsupported-backend-protocol
dnsdist: Error on unsupported backend protocols from YAML
Otto Moerbeek [Tue, 1 Jul 2025 08:46:05 +0000 (10:46 +0200)]
Merge pull request #15755 from omoerbeek/rec-compile-docs
rec: Mention meson in compile instructions
Remi Gacogne [Tue, 1 Jul 2025 08:12:48 +0000 (10:12 +0200)]
Merge pull request #15707 from rgacogne/ddist-no-backend-crash
dnsdist: Prevent Lua bindings for backend from crashing on empty backend
Remi Gacogne [Mon, 30 Jun 2025 13:58:07 +0000 (15:58 +0200)]
dnsdist: Lowercase the TLS provider name for YAML-originated backends
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 30 Jun 2025 13:57:10 +0000 (15:57 +0200)]
dnsdist: Error if backend certificate validation is enabled without a subject name
We can only validate if a proper subject name or subject address is passed,
and we do not want to silently disable validation, so let's refuse to start.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 1 Jul 2025 08:01:06 +0000 (10:01 +0200)]
dnsdist: Add an explicit return type to getObjectFromYAMLConfiguration
As suggested by Otto.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 1 Jul 2025 07:52:22 +0000 (09:52 +0200)]
Merge pull request #15750 from rgacogne/ddist-fix-logging-yaml
dnsdist: Fix logging and XSK YAML settings being ignored
Remi Gacogne [Tue, 1 Jul 2025 07:51:55 +0000 (09:51 +0200)]
Merge pull request #15718 from rgacogne/ddist-return-nil-for-non-existing-lua-objects
dnsdist: Return `nil` for non-existing Lua objects