]>
git.ipfire.org Git - thirdparty/pdns.git/log
Remi Gacogne [Mon, 3 Feb 2025 14:39:04 +0000 (15:39 +0100)]
Merge pull request #15111 from rgacogne/dist-re2
dnsdist: Document that RE2 does full matching, add regression tests
Remi Gacogne [Mon, 3 Feb 2025 13:21:12 +0000 (14:21 +0100)]
dnsdist: Add spell-checking patterns
Peter van Dijk [Mon, 3 Feb 2025 13:18:32 +0000 (14:18 +0100)]
Merge pull request #15109 from Habbie/drop-circleci
remove circleci config
Remi Gacogne [Mon, 3 Feb 2025 13:10:43 +0000 (14:10 +0100)]
Merge pull request #15054 from neheb/bb
more clang-tidy fixups
Remi Gacogne [Mon, 3 Feb 2025 12:23:34 +0000 (13:23 +0100)]
dnsdist: Apply Miod's suggestions to the selectors doc
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
Miod Vallat [Mon, 3 Feb 2025 11:51:36 +0000 (12:51 +0100)]
Merge pull request #15103 from miodvallat/minus_one_is_the_new_black
Grow tinybackend capabilities a bit
Remi Gacogne [Mon, 3 Feb 2025 11:34:06 +0000 (12:34 +0100)]
dnsdist: Document that RE2 does full matching, add regression tests
Peter van Dijk [Mon, 3 Feb 2025 11:22:56 +0000 (12:22 +0100)]
Merge pull request #15093 from mind04/auth-catalog-fix
auth, check return value of getCatalogMembers()
Remi Gacogne [Mon, 3 Feb 2025 11:06:40 +0000 (12:06 +0100)]
Fix clang-tidy warnings
Peter van Dijk [Mon, 3 Feb 2025 10:59:15 +0000 (11:59 +0100)]
remove circleci config
Peter van Dijk [Mon, 3 Feb 2025 10:58:40 +0000 (11:58 +0100)]
Merge pull request #15104 from zeha/zeha-bd
Replace dnsutils with bind9-dnsutils
Miod Vallat [Mon, 3 Feb 2025 10:56:54 +0000 (11:56 +0100)]
Merge pull request #15105 from miodvallat/creationism
Let pdnsutil warn when creating local files
Miod Vallat [Fri, 31 Jan 2025 09:40:43 +0000 (10:40 +0100)]
Warn if local files have been created.
This will hopefully let users notice that they might need to perform
appropriate chown and/or chmod operations so that pdns_server can
correctly access these files.
Fixes #11060
Addresses #3386
Miod Vallat [Fri, 31 Jan 2025 08:58:03 +0000 (09:58 +0100)]
Add infrastructure for backends to report whether file creation occurred.
This only concerns the LMDB backend, as no other backend is able to
create local storage.
To be used shortly in a pdnsutil near you.
Chris Hofstaedtler [Fri, 31 Jan 2025 08:01:40 +0000 (09:01 +0100)]
Replace dnsutils with bind9-dnsutils
bind9-dnsutils exists starting in Debian bullseye, and dnsutils stopped existing in trixie.
Miod Vallat [Thu, 30 Jan 2025 15:40:01 +0000 (16:40 +0100)]
Rework domain id generation.
These changes make the internal state (TDI_t) the reference for domain
ids, which are generated on the fly as domains are added.
Routines iterating over domains make sure to keep this state updated, so
that, at any time, any domain in existence has an entry in the state and
thus an immutable (once discovered) id.
While there, implement getDomainInfo() as a wrapper over
getAllDomains(), returning only the domain we are looking for.
Fixes #14563
Kees Monshouwer [Wed, 29 Jan 2025 00:31:20 +0000 (01:31 +0100)]
auth, add [[nodiscard]] to getCatalogMembers()
Kees Monshouwer [Tue, 28 Jan 2025 17:33:20 +0000 (18:33 +0100)]
auth, check return value of getCatalogMembers()
milzi234 [Tue, 28 Jan 2025 07:44:17 +0000 (08:44 +0100)]
Merge pull request #15034 from milzi234/chore/docs-site-brush-up
chore: Brush up of PowerDNS Documentation Site
Otto Moerbeek [Tue, 28 Jan 2025 06:42:18 +0000 (07:42 +0100)]
Merge pull request #15088 from omoerbeek/rec-fwz-docs
rec: fix forward zones example in YAML
Otto Moerbeek [Mon, 27 Jan 2025 09:39:40 +0000 (10:39 +0100)]
Merge pull request #15086 from omoerbeek/auth-meson-ldap-deb11
auth: try to find ldap libs in case pkconfig is missing (happens on debian11)
Otto Moerbeek [Mon, 27 Jan 2025 09:30:40 +0000 (10:30 +0100)]
rec: fix forward zones example in YAML
Fixes #15077
Miod Vallat [Mon, 27 Jan 2025 06:40:35 +0000 (07:40 +0100)]
Merge pull request #15078 from eli-schwartz/meson-dist
Force various files to be skipped when generating git archives
Otto Moerbeek [Fri, 24 Jan 2025 15:49:03 +0000 (16:49 +0100)]
Merge pull request #15085 from omoerbeek/rec-meson-deb11
rec: fix two issues building rec using meson on debian11
Otto Moerbeek [Fri, 24 Jan 2025 15:28:05 +0000 (16:28 +0100)]
Simplify logic, prompted by @Habbie
Otto Moerbeek [Fri, 24 Jan 2025 15:05:55 +0000 (16:05 +0100)]
Refuse to setup if ldap is required but not found
Otto Moerbeek [Fri, 24 Jan 2025 14:37:22 +0000 (15:37 +0100)]
auth: try to find ldap libs in case pkconfig is missing (happens on debian11)
Otto Moerbeek [Fri, 24 Jan 2025 14:35:34 +0000 (15:35 +0100)]
Avoid warning by only using root name of library (libresolv vs resolv)
Otto Moerbeek [Fri, 24 Jan 2025 13:57:12 +0000 (14:57 +0100)]
rec: fix two issues building rec using meson on debian11
1. Local arc4random was not declared as dependency
2. libresolv was not found (no pkgconfig file) but is still needed
Miod Vallat [Fri, 24 Jan 2025 05:47:15 +0000 (06:47 +0100)]
Merge pull request #14972 from BozhanL/master
Document geoiplookup and expose GeoIPQueryAttribute to Lua
James [Thu, 23 Jan 2025 21:55:33 +0000 (10:55 +1300)]
fix unrecognized spelling
Bozhan Liang [Sat, 14 Dec 2024 02:57:43 +0000 (10:57 +0800)]
Add documentation for geoiplookup and GeoIPQueryAttribute
Closes #8597
Bozhan Liang [Fri, 13 Dec 2024 09:13:46 +0000 (17:13 +0800)]
Add GeoIPQueryAttribute to LUA
Peter van Dijk [Thu, 23 Jan 2025 10:26:56 +0000 (11:26 +0100)]
Merge pull request #15049 from miodvallat/zero
Correctly report SQL insertion errors
Remi Gacogne [Thu, 23 Jan 2025 10:15:37 +0000 (11:15 +0100)]
Merge pull request #15024 from rgacogne/ddist-quic-sni
dnsdist: Gather Server Name Indication on QUIC (DoQ, DoH3) connections
Peter van Dijk [Thu, 23 Jan 2025 10:03:44 +0000 (11:03 +0100)]
Merge pull request #14975 from BozhanL/fix7524
auth: prevent createReverse6 from generating illegal IDN record
Remi Gacogne [Thu, 23 Jan 2025 09:39:02 +0000 (10:39 +0100)]
Merge pull request #15070 from rgacogne/ddist-coverity-
20250121
dnsdist: Fix possible low impact performance issues reported by Coverity
Remi Gacogne [Thu, 9 Jan 2025 14:36:49 +0000 (15:36 +0100)]
dnsdist: Gather Server Name Indication on QUIC (DoQ, DoH3) connections
Remi Gacogne [Thu, 23 Jan 2025 08:24:28 +0000 (09:24 +0100)]
Merge pull request #15072 from Woutifier/wouter/prometheus-content-type
Adjust Content-Type header for Prometheus endpoint to include version
Eli Schwartz [Thu, 23 Jan 2025 05:52:31 +0000 (00:52 -0500)]
Force various files to be skipped when generating git archives
Meson utilizes `git archive` as the first step in producing a release
tarball. Certain files don't need to be distributed in release tarballs
at all -- namely, files used by git itself, or by github when processing
a git repository for e.g. CI purposes. They have no use case outside of
a git repo -- not even as documentation.
Exclude these files from the tarball. This affects both `meson dist` and
the github autogenerated tarballs on the Tags page. More work is needed
to have `meson dist` reach parity with automake's `make distcheck`, but
this is a start.
Alexis Romero [Wed, 22 Jan 2025 09:48:03 +0000 (10:48 +0100)]
Merge pull request #15073 from romeroalx/allow-docker-build-no-creds
GH Actions - build-docker-images.yaml: allow testing image building without credentials
Otto Moerbeek [Wed, 22 Jan 2025 08:05:30 +0000 (09:05 +0100)]
Merge pull request #15074 from omoerbeek/rec-docs-lua-vs-catz
rec: document that forwarding catalog zones cannot be combined with Lua config.
Rosen Penev [Mon, 20 Jan 2025 03:29:30 +0000 (19:29 -0800)]
clang-tidy: pass by value
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 10 Dec 2024 02:57:41 +0000 (18:57 -0800)]
clang-tidy: use default member init
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Fri, 13 Dec 2024 18:57:03 +0000 (10:57 -0800)]
boost::replace_all > std::replace
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Mon, 9 Dec 2024 00:51:27 +0000 (16:51 -0800)]
clang-tidy: convert to range for loop
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Otto Moerbeek [Tue, 21 Jan 2025 15:36:37 +0000 (16:36 +0100)]
rec: document that forwarding catalog zones cannot be combined with Lua config.
Fixes #15052
Wouter de Vries [Tue, 21 Jan 2025 14:18:57 +0000 (15:18 +0100)]
Adjust Content-Type header for Prometheus endpoint to include version
Prometheus v3 will, by default, be more strict about the content-types
returned from scrape endpoints. With the current value (just
`text/plain`), it would fail to scrape.
In this commit the value is changed from `text/plain` to `text/plain;
version=0.0.4`.
See also [1] and [2]
[1] https://prometheus.io/docs/instrumenting/exposition_formats/
[2] https://prometheus.io/docs/prometheus/3.0/migration/
Remi Gacogne [Tue, 21 Jan 2025 14:14:38 +0000 (15:14 +0100)]
dnsdist: Fix possible low impact performance issues reported by Coverity
Remi Gacogne [Tue, 21 Jan 2025 09:54:31 +0000 (10:54 +0100)]
Merge pull request #15067 from rgacogne/ddist-fix-coverity-yaml-2
dnsdist: Install python-yaml in the Coverity workflow
romeroalx [Tue, 21 Jan 2025 06:18:25 +0000 (07:18 +0100)]
remove dockerfile warning LegacyKeyValueFormat
Miod Vallat [Mon, 20 Jan 2025 17:31:52 +0000 (18:31 +0100)]
Merge pull request #15051 from miodvallat/pdnsutil_eulenspiegel
Boring pdnsutil cleanups
Miod Vallat [Fri, 17 Jan 2025 08:02:43 +0000 (09:02 +0100)]
Fix test setup now that sql insertion failures are reported as such.
Miod Vallat [Thu, 16 Jan 2025 13:56:48 +0000 (14:56 +0100)]
Handle LAST_INSERT_ID() returning zero as an error (no insertion)
Remi Gacogne [Mon, 20 Jan 2025 16:20:34 +0000 (17:20 +0100)]
Merge pull request #14954 from neheb/mm
clang-tidy: use std::min/max
romeroalx [Mon, 20 Jan 2025 15:44:56 +0000 (16:44 +0100)]
gh actions: allow build images without credentials (push:false)
Remi Gacogne [Mon, 20 Jan 2025 15:41:52 +0000 (16:41 +0100)]
dnsdist: Install python-yaml in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 15:28:00 +0000 (16:28 +0100)]
Merge pull request #15066 from omoerbeek/tidy-credentials
Tidy credentials.??
Otto Moerbeek [Mon, 20 Jan 2025 14:56:35 +0000 (15:56 +0100)]
Typo in comment
Co-authored-by: Remi Gacogne <github@coredump.fr>
Peter van Dijk [Mon, 20 Jan 2025 14:17:56 +0000 (15:17 +0100)]
Merge pull request #14581 from d-wibowo/direct-dnskey-signature
auth: added a new config for direct queries of dnskey signature
Otto Moerbeek [Mon, 20 Jan 2025 13:35:48 +0000 (14:35 +0100)]
Tidy credentials.??
Otto Moerbeek [Mon, 20 Jan 2025 12:41:29 +0000 (13:41 +0100)]
Merge pull request #15063 from omoerbeek/credentials-include
Include cstdint to get uint64_t
Remi Gacogne [Mon, 20 Jan 2025 11:18:07 +0000 (12:18 +0100)]
Merge pull request #15064 from rgacogne/ddist-fix-el-builds
dnsdist: Fix missing variant header that prevents building on EL8
Otto Moerbeek [Mon, 20 Jan 2025 11:06:01 +0000 (12:06 +0100)]
clang-tidy
Remi Gacogne [Mon, 20 Jan 2025 10:44:03 +0000 (11:44 +0100)]
dnsdist: Fix missing variant header that prevents building on EL8
Otto Moerbeek [Mon, 20 Jan 2025 10:30:33 +0000 (11:30 +0100)]
Merge pull request #15056 from omoerbeek/rec-old-settings-warn
rec: better phrased --enable-old-settings warning
Remi Gacogne [Mon, 20 Jan 2025 10:22:39 +0000 (11:22 +0100)]
Merge pull request #15061 from rgacogne/ddist-fix-coverity
dnsdist: Fix missing LLD dependency in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 10:09:42 +0000 (11:09 +0100)]
Include cstdint to get uint64_t
Should fix #15060
Otto Moerbeek [Mon, 20 Jan 2025 09:59:34 +0000 (10:59 +0100)]
Merge pull request #15057 from omoerbeek/rec-coverity-
20250120
rec: Coverity issues missed in last round, all severity "Low"
Otto Moerbeek [Mon, 20 Jan 2025 08:30:13 +0000 (09:30 +0100)]
rec: better phrased --enable-old-settings warning
Remi Gacogne [Mon, 20 Jan 2025 09:27:03 +0000 (10:27 +0100)]
dnsdist: Fix missing LLD dependency in the Coverity workflow
Otto Moerbeek [Mon, 20 Jan 2025 08:41:38 +0000 (09:41 +0100)]
rec: Coverity issues missed in last round, all severity "Low"
1587809 Variable copied when it could be moved
1587817 Variable copied when it could be moved
1587819 Variable copied when it could be moved
Bozhan Liang [Mon, 16 Dec 2024 12:29:04 +0000 (20:29 +0800)]
documentation for createReverse6
Bozhan Liang [Sat, 14 Dec 2024 10:50:48 +0000 (18:50 +0800)]
auth: prevent createReverse6 from generating illegal IDN record
Closes #7524
Miod Vallat [Fri, 17 Jan 2025 14:35:30 +0000 (15:35 +0100)]
Address some clang-tidy complaints in pdnsutil.
Remi Gacogne [Fri, 17 Jan 2025 15:53:12 +0000 (16:53 +0100)]
Merge pull request #14969 from rgacogne/ddist-yaml-configuration-harder
dnsdist: Add a new, optional, YAML-based configuration format
Otto Moerbeek [Fri, 17 Jan 2025 15:29:05 +0000 (16:29 +0100)]
Merge pull request #15050 from omoerbeek/rec-coverity-
20240117
rec: New Coverity Variable copied when it could be moved cases
Remi Gacogne [Fri, 17 Jan 2025 14:38:27 +0000 (15:38 +0100)]
dnsdist: Fix broken refs and formatting issues in the YAML docs
Otto Moerbeek [Fri, 17 Jan 2025 13:29:13 +0000 (14:29 +0100)]
Remi Gacogne [Fri, 17 Jan 2025 14:05:39 +0000 (15:05 +0100)]
dnsdist: Ad more missing description for YAML settings
Miod Vallat [Fri, 17 Jan 2025 13:34:05 +0000 (14:34 +0100)]
Address coverity complaints in pdnsutil.
Peter van Dijk [Fri, 17 Jan 2025 10:31:35 +0000 (11:31 +0100)]
only look up direct-dnskey-signature in the config once
Peter van Dijk [Fri, 17 Jan 2025 10:29:03 +0000 (11:29 +0100)]
assert key_tag too
Otto Moerbeek [Fri, 17 Jan 2025 09:09:10 +0000 (10:09 +0100)]
Merge pull request #15040 from omoerbeek/rec-ecs
EDNSSubnetOpts refactoring
Otto Moerbeek [Fri, 17 Jan 2025 08:23:49 +0000 (09:23 +0100)]
Add a method to get the scoped subnet (aka Netmask) as suggested by @rgacogne
Otto Moerbeek [Fri, 17 Jan 2025 08:13:54 +0000 (09:13 +0100)]
Merge pull request #15038 from omoerbeek/rec-record-sizes
rec: Compute size *estimate* for record cache allocated size
Remi Gacogne [Thu, 16 Jan 2025 16:06:49 +0000 (17:06 +0100)]
Merge pull request #15046 from rgacogne/ddist-better-error-msg-source
dnsdist: Better error when we cannot connect a backend socket
Remi Gacogne [Thu, 16 Jan 2025 15:30:50 +0000 (16:30 +0100)]
dnsdist: Better error when we cannot connect a backend socket
Let the user know if we are using a specific interface or source
address to contact the backend, as it is quite helpful to pinpoint
the issue.
Peter van Dijk [Thu, 16 Jan 2025 15:26:11 +0000 (16:26 +0100)]
Merge pull request #15043 from nixargh/docs_autoprimary_setup_add_warning
Docs: Add a warning about non-recursive queries during domain bootstrap on autosecondary
Miod Vallat [Thu, 16 Jan 2025 14:03:05 +0000 (15:03 +0100)]
Merge pull request #15041 from miodvallat/guillotine
Exit gracefully on ^D on control-console
Miod Vallat [Thu, 16 Jan 2025 13:42:20 +0000 (14:42 +0100)]
Merge pull request #15039 from miodvallat/augias_stables_take_1
Hair trimming in pdnsutil #1
Remi Gacogne [Thu, 16 Jan 2025 13:25:35 +0000 (14:25 +0100)]
dnsdist: Add a few missing settings to the YAML configuration
nixargh [Thu, 16 Jan 2025 13:09:14 +0000 (16:09 +0300)]
Update docs/modes-of-operation.rst
Co-authored-by: Peter van Dijk <peter.van.dijk@powerdns.com>
Remi Gacogne [Thu, 16 Jan 2025 10:53:48 +0000 (11:53 +0100)]
Merge pull request #15032 from metajiji/patch-1
dnsdist: Use getAddressInfo() instead python daemonized subprocess
Remi Gacogne [Thu, 16 Jan 2025 10:08:42 +0000 (11:08 +0100)]
dnsdist: Simplify the handle of flat settings from YAML
As suggested by Otto (thanks!)
Remi Gacogne [Thu, 16 Jan 2025 10:04:17 +0000 (11:04 +0100)]
dnsdist: Fix the handling of default values for YAML list of strings
nixargh [Thu, 16 Jan 2025 09:43:14 +0000 (12:43 +0300)]
Update docs/modes-of-operation.rst
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
nixargh [Thu, 16 Jan 2025 09:42:49 +0000 (12:42 +0300)]
Update docs/modes-of-operation.rst
Co-authored-by: Miod Vallat <miod.vallat@open-xchange.com>
nixargh [Thu, 16 Jan 2025 09:41:32 +0000 (12:41 +0300)]
return builder dir
Remi Gacogne [Thu, 16 Jan 2025 09:26:15 +0000 (10:26 +0100)]
dnsdist: Fix Rust warnings, be consistent in the naming of YAML objects