]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 17 Feb 2025 14:26:45 +0000 (15:26 +0100)]
dnsdist: Use python3 when installing meson
Remi Gacogne [Mon, 17 Feb 2025 14:17:47 +0000 (15:17 +0100)]
dnsdist: Correct meson tarball sha256sum
Remi Gacogne [Mon, 17 Feb 2025 14:03:12 +0000 (15:03 +0100)]
dnsdist: Only compile ipcipher if libcrypto has been found
Remi Gacogne [Mon, 17 Feb 2025 13:58:47 +0000 (14:58 +0100)]
dnsdist: Only compile lmdb-safe if LMDB has been found
Remi Gacogne [Mon, 3 Mar 2025 11:27:43 +0000 (12:27 +0100)]
dnsdist: Fix detection of libcrypto's configured value in meson
Remi Gacogne [Fri, 14 Feb 2025 15:45:19 +0000 (16:45 +0100)]
dnsdist: Initial changes to build our DNSdist packages with meson
Remi Gacogne [Fri, 7 Mar 2025 15:13:54 +0000 (16:13 +0100)]
Merge pull request #15158 from rgacogne/ddist-disable-lua-configuration-options-with-yaml
dnsdist: Disable Lua configuration directives in YAML mode
Otto Moerbeek [Fri, 7 Mar 2025 15:04:02 +0000 (16:04 +0100)]
Update pdns/recursordist/mtasker_context.cc
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Otto Moerbeek [Fri, 7 Mar 2025 14:20:45 +0000 (15:20 +0100)]
rec: comment on an issue encountered runnig asan on trixie
Remi Gacogne [Fri, 7 Mar 2025 13:39:25 +0000 (14:39 +0100)]
dnsdist: Clarify that Lua directives are still usable in the console
Otto Moerbeek [Fri, 7 Mar 2025 13:21:51 +0000 (14:21 +0100)]
Merge pull request #15261 from omoerbeek/rec-tcp-count-init
rec: make sure t_tcpClientCounts is always initialized
Otto Moerbeek [Fri, 7 Mar 2025 12:16:42 +0000 (13:16 +0100)]
rec: make sure t_tcpClientCounts is always initialized
And while there make it file-local.
Otto Moerbeek [Fri, 7 Mar 2025 11:40:57 +0000 (12:40 +0100)]
Merge pull request #15260 from omoerbeek/cleanup20250305
Fix a few gcc warnings on trixie
Miod Vallat [Fri, 7 Mar 2025 05:46:23 +0000 (06:46 +0100)]
Merge pull request #15253 from miodvallat/dmca
Fix NAPTR processing
Remi Gacogne [Thu, 6 Mar 2025 08:55:12 +0000 (09:55 +0100)]
Merge pull request #15247 from karelbilek/upstream_raw
lua comboaddress: raw docs, cleanups, dnsdist add getRaw
Otto Moerbeek [Wed, 5 Mar 2025 15:27:58 +0000 (16:27 +0100)]
Kill a few warnings
Miod Vallat [Wed, 5 Mar 2025 13:04:35 +0000 (14:04 +0100)]
Add NAPTR tests with multiple records to process.
Miod Vallat [Wed, 5 Mar 2025 12:44:57 +0000 (13:44 +0100)]
Do not corrupt iterators it doAdditionalProcessing for NAPTR.
Miod Vallat [Wed, 5 Mar 2025 09:54:15 +0000 (10:54 +0100)]
Merge pull request #15098 from miodvallat/luallaby
Add a "failOnIncompleteCheck" option to if*up Lua functions
Miod Vallat [Wed, 5 Mar 2025 09:10:13 +0000 (10:10 +0100)]
Add a "failOnIncompleteCheck" option to if*up Lua functions.
This option, is set to "true", will force the if*up functions to return
SERVFAIL, rather than applying the backupSelector, if none of the
health checks for the targets to check have completed yet.
Miod Vallat [Wed, 5 Mar 2025 08:59:29 +0000 (09:59 +0100)]
Merge pull request #15127 from miodvallat/10431
auth lua records: new option to set the http status code to match in ifurlup function
Miod Vallat [Wed, 5 Mar 2025 08:58:24 +0000 (09:58 +0100)]
Merge pull request #15235 from miodvallat/lua-tidy
[auth] [janitor] Mop up some Lua records code
Miod Vallat [Wed, 5 Mar 2025 08:30:11 +0000 (09:30 +0100)]
Merge pull request #15170 from miodvallat/add_but_reluctantly
[pdnsutil] dedup in add-record
Miod Vallat [Wed, 5 Mar 2025 07:20:56 +0000 (08:20 +0100)]
Simple test for lua-records-exec-limit
Miod Vallat [Wed, 5 Mar 2025 06:49:36 +0000 (07:49 +0100)]
Fix sequencing to unbreak lua-records-exec-limit.
Miod Vallat [Wed, 19 Feb 2025 11:16:32 +0000 (12:16 +0100)]
Preserve record order in pdnsutil add-record.
Miod Vallat [Mon, 17 Feb 2025 14:16:15 +0000 (15:16 +0100)]
Add simple tests for pdnsutil add-record behaviour.
Miod Vallat [Mon, 17 Feb 2025 14:10:38 +0000 (15:10 +0100)]
Make sure a backend envvar is always provided to tests.
Miod Vallat [Mon, 17 Feb 2025 14:14:30 +0000 (15:14 +0100)]
Prevent duplicate records in pdnsutil add-record.
When adding records with pdnsutil, the combination of the existing and
to-be-added records will now be dedup'ed.
Fixes: #4727
Miod Vallat [Wed, 5 Mar 2025 07:27:34 +0000 (08:27 +0100)]
Merge pull request #15133 from miodvallat/numbers_are_secondary
[pdnsutil] Do not allow increase-serial on secondary zones
Miod Vallat [Wed, 5 Mar 2025 06:08:43 +0000 (07:08 +0100)]
Merge pull request #15090 from miodvallat/cache_me_tender
Avoid LMDB exception during recursive lookup
Otto Moerbeek [Tue, 4 Mar 2025 15:03:47 +0000 (16:03 +0100)]
Merge pull request #15217 from omoerbeek/logging-tidy
Tidy of structured logging related files
Peter van Dijk [Tue, 4 Mar 2025 14:37:03 +0000 (15:37 +0100)]
repo-test: also show compiled-in features
Otto Moerbeek [Mon, 24 Feb 2025 14:27:49 +0000 (15:27 +0100)]
Tidy structured logging related files
Otto Moerbeek [Tue, 4 Mar 2025 13:18:18 +0000 (14:18 +0100)]
Merge pull request #15169 from omoerbeek/rec-meson-gen-docs
Use meson to generate docs (html + pdf)
Otto Moerbeek [Tue, 4 Mar 2025 13:17:47 +0000 (14:17 +0100)]
Merge pull request #15167 from omoerbeek/rec-proxy-reload
rec: reload proxy settings on rec_control reload-acls
Chris Hofstaedtler [Mon, 24 Feb 2025 12:43:09 +0000 (13:43 +0100)]
rec: debian: use pkgconf if available
Chris Hofstaedtler [Mon, 24 Feb 2025 12:42:54 +0000 (13:42 +0100)]
rec: depend on correct debian package for systemd.pc
Chris Hofstaedtler [Mon, 24 Feb 2025 12:41:45 +0000 (13:41 +0100)]
rec: drop debian mips stuff
Chris Hofstaedtler [Mon, 24 Feb 2025 11:48:32 +0000 (12:48 +0100)]
rec: update debian/tests/smoke for yaml config
Chris Hofstaedtler [Mon, 24 Feb 2025 11:47:31 +0000 (12:47 +0100)]
rec: remove unused recursor.lua config file
Chris Hofstaedtler [Mon, 24 Feb 2025 11:46:39 +0000 (12:46 +0100)]
rec: fix reproducibility issue in debian package build
See http://bugs.debian.org/
1098691
Apparently there are no guarantees on the shell behaviour.
Otto Moerbeek [Tue, 4 Mar 2025 12:41:39 +0000 (13:41 +0100)]
Better description of docs related utilities
Otto Moerbeek [Tue, 4 Mar 2025 12:33:33 +0000 (13:33 +0100)]
Add test for ProxyProtocol config reload
milzi234 [Tue, 4 Mar 2025 12:32:56 +0000 (13:32 +0100)]
adds cache-busting to versions.json retrieval so new versions show up quicker
milzi234 [Tue, 4 Mar 2025 12:32:09 +0000 (13:32 +0100)]
adds 404 page
milzi234 [Tue, 4 Mar 2025 12:31:52 +0000 (13:31 +0100)]
Update index.html to have the logo point to powerdns.com
Otto Moerbeek [Tue, 4 Mar 2025 12:00:44 +0000 (13:00 +0100)]
Merge pull request #15248 from omoerbeek/rec-docs-rpz-refresh
rec docs: elaborate on RPZ refresh parameter
Alexis Romero [Tue, 4 Mar 2025 11:26:51 +0000 (12:26 +0100)]
Merge pull request #15243 from romeroalx/build-images-ubuntu-24
GH Actions: upgrade version of Ubuntu runners to 24.04
Otto Moerbeek [Tue, 4 Mar 2025 11:23:41 +0000 (12:23 +0100)]
rec docs: elaborate on RPZ refresh parameter
Karel Bilek [Tue, 4 Mar 2025 11:25:07 +0000 (12:25 +0100)]
docs: fix "format format" typo
Karel Bilek [Tue, 4 Mar 2025 07:54:29 +0000 (08:54 +0100)]
dnsdistdist docs: add getRaw docs
Karel Bilek [Tue, 4 Mar 2025 07:53:56 +0000 (08:53 +0100)]
lua ComboAddress: add, simplify getRaw, ca -> addr
* chage CA to addr in all lua bindings to make linter happy
* use toByteString that already exists instead of reimplementing it
* add getRaw to CA binding in dnsdist
Karel Bilek [Tue, 4 Mar 2025 07:52:44 +0000 (08:52 +0100)]
dnsdist docs: copy newCAFromRaw from pdns
Peter van Dijk [Tue, 4 Mar 2025 10:33:11 +0000 (11:33 +0100)]
Merge pull request #14990 from Habbie/drop-el7-debianbuster
drop el-7, debian-buster, amazonlinux-2
romeroalx [Mon, 3 Mar 2025 20:47:44 +0000 (21:47 +0100)]
gh actions - build-and-test-all: use ubuntu24 runners
romeroalx [Mon, 3 Mar 2025 18:51:11 +0000 (19:51 +0100)]
gh actions: build images and packages using ubuntu-24.04 runners
Peter van Dijk [Mon, 3 Mar 2025 11:02:15 +0000 (12:02 +0100)]
Merge pull request #15238 from miodvallat/poor_lonesome_backend
Fix list-all-zones in multi-backend configuration involving LMDB
Remi Gacogne [Mon, 3 Mar 2025 10:15:10 +0000 (11:15 +0100)]
Merge pull request #15225 from miodvallat/distdistdistdistdist
Fix syntax of commented out dynblockrules
Remi Gacogne [Mon, 3 Mar 2025 09:35:52 +0000 (10:35 +0100)]
Merge pull request #15199 from rgacogne/ddist-ebpf-all
dnsdist: Use `65535` instead of `255` to block all types via eBPF
Miod Vallat [Fri, 28 Feb 2025 15:38:39 +0000 (16:38 +0100)]
Do not clear the domain list in getAllDomains.
Doing this causes incomplete information to be returned in multi-backend
configuration.
Peter van Dijk [Fri, 28 Feb 2025 12:33:42 +0000 (13:33 +0100)]
Merge pull request #15176 from Habbie/lmdb-prefix-lookup
lmdb-safe: add prefix() cursor; use it in list/lookup/get
Peter van Dijk [Fri, 28 Feb 2025 11:02:22 +0000 (12:02 +0100)]
explicit int checks
Peter van Dijk [Fri, 28 Feb 2025 11:01:33 +0000 (12:01 +0100)]
remove redundant check
Miod Vallat [Fri, 28 Feb 2025 08:36:27 +0000 (09:36 +0100)]
Address clang-tidy concerns.
Peter van Dijk [Fri, 28 Feb 2025 10:23:35 +0000 (11:23 +0100)]
adjust updateDNSSECOrderNameAndAuth to prefix() lookup
Peter van Dijk [Wed, 19 Feb 2025 18:28:22 +0000 (19:28 +0100)]
lmdb-safe: add prefix() cursor; use it in list/lookup/get
Miod Vallat [Fri, 28 Feb 2025 07:54:27 +0000 (08:54 +0100)]
Apply some syntactic sugar.
Miod Vallat [Fri, 28 Feb 2025 07:50:00 +0000 (08:50 +0100)]
Make the return type of every lua lambda explicit.
Miod Vallat [Fri, 28 Feb 2025 07:37:57 +0000 (08:37 +0100)]
Move each Lua function lambda to its own toplevel function.
This does not change anything, but reduces indent and makes the code
easier to read. No functional change yet.
Miod Vallat [Thu, 27 Feb 2025 12:54:36 +0000 (13:54 +0100)]
Merge pull request #15222 from miodvallat/parse_with_more_care
Damage control in Lua createForward()
Miod Vallat [Thu, 27 Feb 2025 07:09:32 +0000 (08:09 +0100)]
Fix syntax of commented out dynblockrules; reported in #15224
Miod Vallat [Wed, 26 Feb 2025 13:31:50 +0000 (14:31 +0100)]
Damage control in Lua createForward() and createForward6().
- make sure all computed results are passed to a ComboAddress
constructor, which will reject ill-formed data. This wasn't the case
in createForward, when interpreting part of the requested name as an
ipv4 address encoded in hexadecimal (e.g.
7f000001 ), but the actual
name wasn't.
This would otherwise end up with a SERVFAIL answer and a Lua stack
traceback containing messages such as:
Unable to convert presentation address '
4294967292 .xx.yy.zz'
for a name ending with "-4" and six hex digits.
- wrap these functions into a try/catch block in order to cope with
possible exceptions raised by ComboAddress.
This wasn't the case in createForward6 when the requested name
contains at least 8 dots - this doesn't imply each component is a
valid ipv6 chunk.
Otto Moerbeek [Wed, 26 Feb 2025 09:00:56 +0000 (10:00 +0100)]
Merge pull request #15216 from omoerbeek/rec-recthread-cleanup
rec: store thread id in info object, makes a few methods less error prone
Otto Moerbeek [Wed, 26 Feb 2025 06:47:42 +0000 (07:47 +0100)]
Apply suggestions from code review
Co-authored-by: Miod Vallat <miod.vallat@powerdns.com>
Josh Soref [Mon, 24 Feb 2025 17:02:52 +0000 (12:02 -0500)]
docs: fix broken changelog links
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 24 Feb 2025 16:35:55 +0000 (11:35 -0500)]
docs: fix recursor pre settings links
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 24 Feb 2025 16:30:39 +0000 (11:30 -0500)]
docs: fix recursor pre links
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 24 Feb 2025 14:40:25 +0000 (09:40 -0500)]
link: commit SHA links
track to git map generated using:
```sh
git log --all --pretty=raw |
egrep '^commit |git-svn-id:' > git-svn-map
```
entries to rewrite selected using:
```sh
grep '/changeset/' pre-4.0.rst |
perl -pe 's/`/\n/' |
grep /changeset/ > seek
```
rewrite perl generated using approximately:
```sh
echo '$/=undef;'
for a in $(
cat seek |
perl -pe '
s/\s*//;
s/ <.*/ /;
'
); do
echo 's,commit '$a' <http://wiki.powerdns.com/projects/trac/changeset/'$a'>,<'$(
grep -B1 "@$a" git-svn-map|head -1
)',;'
done
```
An extra pass was required to fix up the links to proper `commit SHA <.../SHA>` notation.
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Mon, 24 Feb 2025 14:31:43 +0000 (09:31 -0500)]
spelling: www.powerdns.com/downloads
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 21 Feb 2025 16:14:46 +0000 (11:14 -0500)]
docs: Fix links to reference rst
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Josh Soref [Fri, 21 Feb 2025 16:08:34 +0000 (11:08 -0500)]
docs: Fix allow-from markup/link
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Otto Moerbeek [Fri, 14 Feb 2025 13:09:45 +0000 (14:09 +0100)]
rec: store id in info object, makes a few methods less error prone
Otto Moerbeek [Mon, 24 Feb 2025 10:30:54 +0000 (11:30 +0100)]
Merge pull request #15203 from omoerbeek/rec-beck-to-serde-yaml
rec: switch back to serde_yaml
Peter van Dijk [Mon, 24 Feb 2025 10:30:42 +0000 (11:30 +0100)]
Merge pull request #15187 from Habbie/docs-pr-artifact
docs: reinstate artifact generation for PRs
Otto Moerbeek [Mon, 24 Feb 2025 10:27:10 +0000 (11:27 +0100)]
Merge pull request #15205 from omoerbeek/dnsdist-back-to-serde-yaml
dnsdist: switch back to serde_yaml
Miod Vallat [Thu, 23 Jan 2025 14:28:26 +0000 (15:28 +0100)]
Add a command alias table.
This replaces "did you mean bar?" when running pdnsutil foo, and instead
invokes bar directly.
Otto Moerbeek [Mon, 24 Feb 2025 09:34:11 +0000 (10:34 +0100)]
Merge pull request #15206 from omoerbeek/rec-catz-test-race
rec: workaround a potential (but rare) race in the FWCatz test
Otto Moerbeek [Mon, 24 Feb 2025 08:11:32 +0000 (09:11 +0100)]
Switch back to serde_yaml
Fixes the rec part of #15202
Miod Vallat [Mon, 24 Feb 2025 09:27:27 +0000 (10:27 +0100)]
Merge pull request #15082 from miodvallat/dilnpstu
More helpful pdnsutil help output
Miod Vallat [Thu, 23 Jan 2025 14:28:26 +0000 (15:28 +0100)]
Friendlier usage output.
1. The commands dictionary is extended with a command group, as well as
the one-liner synopsis and help message. When the list of these
one-liners get output, they are now output in sorted order within
each group.
2. Instead of having the syntax on the leftmost 40 columns and the
description on the rightmost 40 columns, causing many commands to
span more than one line total, we now display the syntax on a whole
line, and the description on the next one, indented by a tab.
This should hopefully improve readability (especially for complex
syntax lines).
3. The command synopsis is now passed to the command handler. This
allows error messages in case of invocation error to be consistent
with the output of `pdnsutil help`.
4. Tweak and homogeneize command synopsis, and sync the pdnsutil
documentation accordingly.
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Otto Moerbeek [Fri, 21 Feb 2025 11:07:41 +0000 (12:07 +0100)]
rec: workaround a potential (but rare) race in the FWCatz test
Otto Moerbeek [Mon, 24 Feb 2025 08:24:12 +0000 (09:24 +0100)]
Merge pull request #15200 from zeha/recdocssample
rec: fix auth_zones yaml example
Otto Moerbeek [Mon, 24 Feb 2025 08:20:46 +0000 (09:20 +0100)]
dnsdist: switch back to serde_yaml
Fixes the dnsdist part of #15202
milzi234 [Mon, 24 Feb 2025 08:10:32 +0000 (09:10 +0100)]
Proper tool installation and credential handling
milzi234 [Mon, 24 Feb 2025 07:53:45 +0000 (08:53 +0100)]
Merge branch 'PowerDNS:master' into feature/rclone
Chris Hofstaedtler [Fri, 21 Feb 2025 14:26:01 +0000 (15:26 +0100)]
rec: fix auth_zones yaml example
Miod Vallat [Fri, 21 Feb 2025 13:50:36 +0000 (14:50 +0100)]
Merge pull request #15185 from jsoref/primary-secondary
docs: Update to primary/secondary
Remi Gacogne [Fri, 21 Feb 2025 13:38:55 +0000 (14:38 +0100)]
dnsdist: Use 65535 instead of 255 to block all types via eBPF
Our eBPF filtering code used to treat the `255` (`ANY`) qtype as a
special value meaning to block queries for all types. Unfortunately
it prevented blocking queries for the `ANY` type only, which is a
legitimate use-case.
After this commit `255` is no longer a special value, and `65535`
(a reserved value) is used instead to represent all types.
This is a breaking change that should NOT be backported.
Josh Soref [Fri, 21 Feb 2025 13:02:44 +0000 (08:02 -0500)]
docs: Fix docs to match reference to autosecondary
The docs had been wrong since the feature was renamed in
d3dfd71e2d8cb56113a36d55df57864d16e5f6c2
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>