]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Fri, 6 Jun 2025 13:14:13 +0000 (15:14 +0200)]
dnsdist: Do not waste CPU cycles handling EDNS twice on self-generated answers
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 27 May 2025 14:43:22 +0000 (16:43 +0200)]
dnsdist: Add a test for EDNS on answers self-generated from a packet
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 27 May 2025 14:23:39 +0000 (16:23 +0200)]
dnsdist: Do not replace EDNS in answers self-generated from a packet
While it makes sense to add/remove EDNS when the answer was generated
from the query itself, we should not be doing that when it has been
generated from a whole DNS packet, as it probably contains exactly
what the user intended it to.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Fri, 6 Jun 2025 11:18:58 +0000 (13:18 +0200)]
Merge pull request #15630 from rgacogne/ddist-generated
dnsdist: Better handling of generated files
Remi Gacogne [Fri, 6 Jun 2025 11:18:49 +0000 (13:18 +0200)]
Merge pull request #15633 from Habbie/dnsdist-pp-doc-nit
dnsdist settings docs: fix derailed sentence
Remi Gacogne [Fri, 6 Jun 2025 11:18:34 +0000 (13:18 +0200)]
Merge pull request #15342 from romeroalx/regression-tests-meson
GH Actions - build-and-test-all: use meson builds for regression tests
Otto Moerbeek [Fri, 6 Jun 2025 10:02:46 +0000 (12:02 +0200)]
Merge pull request #15637 from omoerbeek/dnsdist-docs-rules-toc
dnsdist docs: Place "Rule Selectors" in more appropriate place in TOC
Otto Moerbeek [Fri, 6 Jun 2025 09:18:03 +0000 (11:18 +0200)]
dnsdist docs: Place "Rule Selectors" in more appropriate place in TOC
Otto Moerbeek [Fri, 6 Jun 2025 09:09:55 +0000 (11:09 +0200)]
Merge pull request #15636 from omoerbeek/rec-meson-packages-followup3
rec meson followup: extend unittest max time once more and add trixie daily builds
Otto Moerbeek [Fri, 6 Jun 2025 08:38:33 +0000 (10:38 +0200)]
rec meson followup: extend unittest max time once more, ubicloud is slow in some cases
And add trixie to dnsdist and rec daily package build targets
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Peter van Dijk [Fri, 6 Jun 2025 07:40:26 +0000 (09:40 +0200)]
Merge pull request #14473 from Habbie/centos-10-stream
builder: add centos-10-stream target
Remi Gacogne [Thu, 5 Jun 2025 14:22:57 +0000 (16:22 +0200)]
dnsdist: Ignore generated dnsdist-rust-lib/rust/src/lib.rs
Otto Moerbeek [Thu, 5 Jun 2025 14:22:18 +0000 (16:22 +0200)]
Merge pull request #15632 from omoerbeek/rec-meson-packages-followup2
rec: Disable fortify on package builds, it is supplied db package build infra
Remi Gacogne [Thu, 5 Jun 2025 14:17:51 +0000 (16:17 +0200)]
dnsdist: Add a missing change in the YAML response actions docs
Remi Gacogne [Thu, 5 Jun 2025 14:05:20 +0000 (16:05 +0200)]
dnsdist: Add missing boost dependencies spotted by Otto (thanks!)
Remi Gacogne [Tue, 3 Jun 2025 11:10:16 +0000 (13:10 +0200)]
dnsdist: Hopefully fixes consistency issues in our build
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 11:13:25 +0000 (13:13 +0200)]
dnsdist: Also ignore dnsdist-rust-lib/dnsdist-configuration-yaml-items-generated.cc
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 10:42:29 +0000 (12:42 +0200)]
dnsdist: Ignore generated "body" header files
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 10:41:16 +0000 (12:41 +0200)]
dnsdist: Remove generated files from git
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Tue, 3 Jun 2025 08:22:28 +0000 (10:22 +0200)]
dnsdist: Rename dnsdist-configuration-yaml-items-generated-pre-in.cc
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 13:48:02 +0000 (15:48 +0200)]
dnsdist: Always process `dnsdist-rust-lib/meson.build`
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 13:41:07 +0000 (15:41 +0200)]
dnsdist: Update stale YAML selectors documentation
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 13:40:44 +0000 (15:40 +0200)]
dnsdist: Automatically generate YAML settings documentation
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 12:28:22 +0000 (14:28 +0200)]
dnsdist: Fix paths in the YAML settings documentation generator
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Mon, 2 Jun 2025 12:27:55 +0000 (14:27 +0200)]
dnsdist: Move the YAML settings documentation generator
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 5 Jun 2025 14:08:10 +0000 (16:08 +0200)]
Merge pull request #15631 from rgacogne/ddist-fix-spurious-test-failure
dnsdist: Fix a flaky Proxy Protocol regression test
Remi Gacogne [Thu, 5 Jun 2025 14:07:53 +0000 (16:07 +0200)]
Merge pull request #15610 from ns-sjorgedeaguiar/ddist-add-set-edns-response-action
dnsdist: add SetEDNSOptionResponseAction
Peter van Dijk [Thu, 5 Jun 2025 13:52:22 +0000 (15:52 +0200)]
dnsdist settings docs: fix derailed sentence
Peter van Dijk [Thu, 5 Jun 2025 13:47:14 +0000 (15:47 +0200)]
Merge pull request #15389 from miodvallat/wittlching_hour
[tools] Honour default-ttl in pdnsutil load-zone
Remi Gacogne [Tue, 20 May 2025 13:56:24 +0000 (15:56 +0200)]
build-and-test-all: Enable coverage back on our repository
Remi Gacogne [Tue, 20 May 2025 11:31:19 +0000 (13:31 +0200)]
build-and-test-all: Fix working directory when generating coverage for auth's unit tests
Remi Gacogne [Tue, 20 May 2025 10:19:37 +0000 (12:19 +0200)]
build-and-test-all: We no longer build from a distdir w/ meson
Remi Gacogne [Tue, 20 May 2025 07:28:40 +0000 (09:28 +0200)]
meson: Add support for generating code coverage data in clang format
romeroalx [Wed, 16 Apr 2025 10:24:14 +0000 (12:24 +0200)]
tasks.py: meson install requires elevation
romeroalx [Fri, 11 Apr 2025 13:44:45 +0000 (15:44 +0200)]
gh actions: temporarily disable coverage
romeroalx [Mon, 14 Apr 2025 13:57:30 +0000 (15:57 +0200)]
build-and-test-all: run coverage on meson builds
romeroalx [Fri, 11 Apr 2025 13:41:16 +0000 (15:41 +0200)]
gh actions: fix condition to check if coverage is enabled as suggested by @rgacogne
romeroalx [Fri, 21 Mar 2025 13:40:50 +0000 (14:40 +0100)]
build-and-test-all: use meson binaries in regression tests
Peter van Dijk [Thu, 5 Jun 2025 13:23:37 +0000 (15:23 +0200)]
Merge pull request #15607 from miodvallat/too_much_sugar
Try harder matching command names in pdnsutil
Samir Aguiar [Thu, 5 Jun 2025 13:21:48 +0000 (13:21 +0000)]
dnsdist: use "replace" instead of "overwrite"
romeroalx [Fri, 21 Mar 2025 13:22:03 +0000 (14:22 +0100)]
regression-tests.nobackend - soa-edit: use datefudge instead of faketime
romeroalx [Fri, 21 Mar 2025 13:19:22 +0000 (14:19 +0100)]
dnsdist-meson: enable yaml configuration
Peter van Dijk [Thu, 5 Jun 2025 13:08:47 +0000 (15:08 +0200)]
Merge pull request #15581 from miodvallat/editors'cut
Do not use system(3) in pdnsutil
Otto Moerbeek [Thu, 5 Jun 2025 12:22:44 +0000 (14:22 +0200)]
Disable fortify on package builds, it is supplied db package build infra
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Peter van Dijk [Thu, 5 Jun 2025 12:12:35 +0000 (14:12 +0200)]
Merge pull request #15604 from miodvallat/a_zone_with_a_view
Suggest create-zone after view-add-zone of a nonexisting zone
Otto Moerbeek [Thu, 5 Jun 2025 11:52:22 +0000 (13:52 +0200)]
Merge pull request #15628 from omoerbeek/rec-meson-packages-followup
rec: meson packages followup
Remi Gacogne [Thu, 5 Jun 2025 11:06:22 +0000 (13:06 +0200)]
dnsdist: Fix a flaky Proxy Protocol regression test
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Thu, 5 Jun 2025 10:33:36 +0000 (12:33 +0200)]
Merge pull request #15626 from omoerbeek/rec-el9-luajit
rec: build el-9 package with luajit on arm64
Otto Moerbeek [Thu, 5 Jun 2025 10:32:50 +0000 (12:32 +0200)]
Update builder-support/specs/pdns-recursor.spec
Co-authored-by: Remi Gacogne <github@coredump.fr>
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Thu, 5 Jun 2025 09:19:51 +0000 (11:19 +0200)]
Merge pull request #15629 from rgacogne/fix-documentation-workflow
documentation.yml: Fix a typo
Remi Gacogne [Thu, 5 Jun 2025 08:41:08 +0000 (10:41 +0200)]
documentation.yml: Fix missing `$`s spotted by Alexis (thanks!)
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Remi Gacogne [Thu, 5 Jun 2025 08:26:47 +0000 (10:26 +0200)]
documentation.yml: Fix a typo
Remi Gacogne [Thu, 5 Jun 2025 08:15:46 +0000 (10:15 +0200)]
Merge pull request #15600 from rgacogne/zizmor
ci: Fix various warnings reported by zizmor
Peter van Dijk [Fri, 16 May 2025 07:39:28 +0000 (07:39 +0000)]
enable xsk for every EL except arm64/8
Peter van Dijk [Thu, 15 May 2025 09:11:38 +0000 (11:11 +0200)]
builder: add centos-10-stream target
Otto Moerbeek [Thu, 5 Jun 2025 07:50:07 +0000 (09:50 +0200)]
Set fortify to auto, avoids warning on ubuntu-noble
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 5 Jun 2025 07:12:32 +0000 (09:12 +0200)]
Disable some deprecation warnings on rhel, boost generates a tonne of them
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Thu, 5 Jun 2025 07:09:15 +0000 (09:09 +0200)]
Build daily packages for trixie
Otto Moerbeek [Thu, 5 Jun 2025 07:00:39 +0000 (09:00 +0200)]
Longer timeout for unit test run
Otto Moerbeek [Tue, 3 Jun 2025 13:29:29 +0000 (15:29 +0200)]
rec: build el-9 package with luajit on arm64
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Otto Moerbeek [Tue, 3 Jun 2025 12:51:41 +0000 (14:51 +0200)]
Merge pull request #15592 from omoerbeek/rec-meson-packages
rec: build packages using meson
Remi Gacogne [Tue, 3 Jun 2025 12:33:31 +0000 (14:33 +0200)]
Merge pull request #17 from romeroalx/zizmor
CI: added digest (index when possible) for external images used in gh actions
Otto Moerbeek [Mon, 2 Jun 2025 12:48:21 +0000 (14:48 +0200)]
Also generate Dockerfile with meson
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
romeroalx [Tue, 3 Jun 2025 09:16:11 +0000 (11:16 +0200)]
ci: added digest (index when possible) for external images used in gh actions
Remi Gacogne [Tue, 3 Jun 2025 07:35:17 +0000 (09:35 +0200)]
Merge pull request #15615 from rgacogne/ddist-update-cargo-lock
dnsdist: Update our Rust dependencies
Remi Gacogne [Tue, 3 Jun 2025 07:35:00 +0000 (09:35 +0200)]
Merge pull request #15616 from zeha/dnsdist-debian-lua
dnsdist: debian: use luajit when possible
Remi Gacogne [Tue, 3 Jun 2025 07:34:16 +0000 (09:34 +0200)]
Merge pull request #15614 from rgacogne/ddist-rust-lib-locked
dnsdist: Explicitly use the versions present in `Cargo.lock` when building
Chris Hofstaedtler [Mon, 2 Jun 2025 10:54:27 +0000 (12:54 +0200)]
dnsdist: debian: use luajit when possible
Use luajit on arm64 amd64, otherwise keep lua5.3. luajit in Ubuntu jammy and
Debian bookworm should be new enough to not need version constraints anymore.
Signed-off-by: Chris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Otto Moerbeek [Mon, 2 Jun 2025 09:58:59 +0000 (11:58 +0200)]
Better logic for luajit use on debian
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
Remi Gacogne [Mon, 2 Jun 2025 10:43:53 +0000 (12:43 +0200)]
dnsdist: Update our Rust dependencies
Remi Gacogne [Mon, 2 Jun 2025 10:36:23 +0000 (12:36 +0200)]
dnsdist: Explicitly use the versions present in `Cargo.lock` when building
The documentation states that only `cargo update` and `cargo install`
should update the dependencies present in the `Cargo.lock` file, but
it still seems safer to explictly ask `cargo build` to not update them.
Signed-off-by: Remi Gacogne <remi.gacogne@powerdns.com>
Otto Moerbeek [Wed, 28 May 2025 12:02:12 +0000 (14:02 +0200)]
Fix systemd user for debian packages
Otto Moerbeek [Tue, 27 May 2025 07:48:43 +0000 (09:48 +0200)]
Fix systemd-service option handling
Trixie and oracular are special, they need both systemd and systemd-dev
Otto Moerbeek [Mon, 26 May 2025 13:08:18 +0000 (15:08 +0200)]
Rec debian/ubuntu packges using meson
Otto Moerbeek [Mon, 26 May 2025 10:08:43 +0000 (12:08 +0200)]
Add el-8, needed a nweer boost to build with clang
Otto Moerbeek [Mon, 26 May 2025 08:38:43 +0000 (10:38 +0200)]
rec: build dist tarball and el-x packages using meson
Peter van Dijk [Mon, 2 Jun 2025 09:36:55 +0000 (11:36 +0200)]
Merge pull request #15597 from Habbie/auth5a1-changelog-nits
auth 5a1 changelog: fix real names; remove 4.9 backported items
Remi Gacogne [Fri, 30 May 2025 09:43:35 +0000 (11:43 +0200)]
dnsdist: Fix SetEDNSOptionResponseAction regression tests
Remi Gacogne [Fri, 30 May 2025 09:42:32 +0000 (11:42 +0200)]
dnsdist: Make `setEDNSOption` usable for responses
Without this change dnsdist removed the EDNS payload later in the
processing of the response.
Remi Gacogne [Fri, 30 May 2025 09:41:25 +0000 (11:41 +0200)]
dnsdist: Generate YAML and Lua configuration bindings for SetEDNSOptionResponseAction
Samir Aguiar [Wed, 28 May 2025 01:21:42 +0000 (01:21 +0000)]
dnsdist: Add a test for SetEDNSOptionResponseAction
Samir Aguiar [Tue, 27 May 2025 15:43:43 +0000 (15:43 +0000)]
dnsdist: add SetEDNSOptionResponseAction
Miod Vallat [Thu, 22 May 2025 10:25:49 +0000 (12:25 +0200)]
appease clang-tidy
Miod Vallat [Thu, 22 May 2025 06:53:36 +0000 (08:53 +0200)]
Replace use of system(3) in pdnsutil with execvp(2).
Miod Vallat [Thu, 22 May 2025 06:25:05 +0000 (08:25 +0200)]
Remove duplicate #include
Miod Vallat [Thu, 22 May 2025 06:23:36 +0000 (08:23 +0200)]
Move editor invocation to its own routine. NFC
Remi Gacogne [Wed, 28 May 2025 12:05:27 +0000 (14:05 +0200)]
Merge pull request #15598 from rgacogne/auth-geoip-warning
auth: Fix `ignoring attributes on template argument` warning in the GeoIP backend
Remi Gacogne [Wed, 28 May 2025 12:04:49 +0000 (14:04 +0200)]
Merge pull request #15595 from rgacogne/auth500-a1-warnings
auth: Fix a couple warnings reported by g++ 15.1.1
Otto Moerbeek [Wed, 28 May 2025 12:04:36 +0000 (14:04 +0200)]
Merge pull request #15601 from Habbie/dnsdist-docs-eol-casing
Revert "Harmonize EOL file name"
Miod Vallat [Wed, 28 May 2025 12:03:33 +0000 (14:03 +0200)]
Merge pull request #15608 from jpmens/patch-17
s/master/primary/g in Views doc
Otto Moerbeek [Wed, 28 May 2025 11:24:30 +0000 (13:24 +0200)]
Merge pull request #15596 from omoerbeek/build-trixie
Start building packages for trixie
Jan-Piet Mens [Wed, 28 May 2025 11:07:48 +0000 (13:07 +0200)]
s/master/primary/g in Views doc
Miod Vallat [Wed, 28 May 2025 10:10:43 +0000 (12:10 +0200)]
Try harder matching command names in pdnsutil.
We would like to eventually move towards a consistent naming of the pdnsutil
commands, in the form:
pdnsutil <object (a noun)> <action (a verb)> <arguments>
with no dash between the object and the action.
However the existing commands are currently in the form action-object.
This change attempts to recognize both "object-action" and "object action"
and rewrites them as "action-object" to match the current command set, as
a first step.
Miod Vallat [Wed, 28 May 2025 06:20:49 +0000 (08:20 +0200)]
Suggest create-zone after view-add-zone of a nonexisting zone.
Peter van Dijk [Tue, 27 May 2025 13:25:43 +0000 (15:25 +0200)]
Revert "Harmonize EOL file name"
This reverts commit
c5c53393e558473c1c60acb1b43bc798e63c012e .
such changes make working with the tree hard, and they cause
404s -or- outdated pages on publication
Remi Gacogne [Tue, 27 May 2025 13:16:03 +0000 (15:16 +0200)]
auth: Fix formatting
Remi Gacogne [Tue, 27 May 2025 13:06:35 +0000 (15:06 +0200)]
spelling2: Remove all permissions
Remi Gacogne [Tue, 27 May 2025 13:02:48 +0000 (15:02 +0200)]
ci: Use an intermediate environment variable when processing input
See https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#good-practices-for-mitigating-script-injection-attacks
Remi Gacogne [Tue, 27 May 2025 12:57:25 +0000 (14:57 +0200)]
build-and-test-all: Pin the version of the coveralls workflow
Remi Gacogne [Tue, 27 May 2025 12:54:52 +0000 (14:54 +0200)]
ci: Never persist credentials after calling `checkout`