]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Sat, 30 May 2026 19:12:04 +0000 (21:12 +0200)]
Merge branch 'configure_refactoring'
Daniel Salzman [Sat, 30 May 2026 18:35:10 +0000 (20:35 +0200)]
configure: unify coding style
Daniel Salzman [Sat, 30 May 2026 18:33:21 +0000 (20:33 +0200)]
configure: refactor and unify utility dependency checks
Daniel Salzman [Sat, 30 May 2026 18:32:14 +0000 (20:32 +0200)]
configure: refactor and unify module dependency checks
Daniel Salzman [Sat, 30 May 2026 18:30:29 +0000 (20:30 +0200)]
configure: refactor and unify daemon dependency checks
Daniel Salzman [Sat, 30 May 2026 18:22:59 +0000 (20:22 +0200)]
configure: refactor and unify library dependency checks
Libor Peltan [Fri, 29 May 2026 10:09:48 +0000 (12:09 +0200)]
bugfix/zone(timers): reload cleares 'started' bit leading to skipping timers write
Libor Peltan [Wed, 27 May 2026 10:38:07 +0000 (12:38 +0200)]
bugfix/timerDB: zone-backup inhibits later timerDB dump, messing timers
Daniel Salzman [Thu, 28 May 2026 19:56:29 +0000 (21:56 +0200)]
mod-geoip: fix responding to ANY queries
Libor Peltan [Wed, 27 May 2026 13:19:35 +0000 (15:19 +0200)]
Merge branch 'knotc_output_impr' into 'master'
Unify and improve knotc control command outputs
See merge request knot/knot-dns!1871
Daniel Salzman [Thu, 21 May 2026 12:26:03 +0000 (14:26 +0200)]
knotc: refactor, unify, and improve command output processing
Daniel Salzman [Tue, 12 May 2026 10:42:27 +0000 (12:42 +0200)]
knotc: allow -- with zone-serial-set and zone-key-rollover
Daniel Salzman [Fri, 22 May 2026 17:08:00 +0000 (19:08 +0200)]
kasp: fix compilation error: initializer element is not constant
Daniel Salzman [Wed, 20 May 2026 14:49:56 +0000 (16:49 +0200)]
kdig: fix collision if both +https and +quic are specified
Daniel Salzman [Wed, 20 May 2026 08:33:13 +0000 (10:33 +0200)]
Merge branch 'purge_keys' into 'master'
Keys purge
See merge request knot/knot-dns!1832
David Vašek [Mon, 18 May 2026 20:35:07 +0000 (22:35 +0200)]
kaspdb: make deletion timestamp a part of a trash-key record
Daniel Salzman [Wed, 13 May 2026 12:23:26 +0000 (14:23 +0200)]
kasp: remove obsolete FIXME
David Vašek [Mon, 23 Feb 2026 21:14:38 +0000 (22:14 +0100)]
tests-extra: dnssec/purge_keys -- remove all concurrent accesses to SoftHSM2
Contrary the SoftHSM2 specification, it seems that SoftHSM2 doesn't work well
when it's token is accessed two or more times in parallel.
David Vašek [Mon, 22 Dec 2025 13:10:47 +0000 (14:10 +0100)]
tests-extra: add a new test dnssec/purge_keys
David Vašek [Mon, 23 Feb 2026 13:48:33 +0000 (14:48 +0100)]
tests-extra: add default keystore as a variant of a PEM keystore
David Vašek [Mon, 23 Feb 2026 13:46:36 +0000 (14:46 +0100)]
tests-extra: in keystores, allow to list the keys the keystore holds
David Vašek [Tue, 3 Feb 2026 14:16:28 +0000 (15:16 +0100)]
tests, tests-extra: update SoftHSM2 configuration so that it doesn't complain
This commit doesn't change SoftHSM2 functionality, configured values are default values.
David Vašek [Mon, 2 Feb 2026 16:23:09 +0000 (17:23 +0100)]
tests-extra: fix keymgr running
David Vašek [Mon, 12 Jan 2026 10:15:49 +0000 (11:15 +0100)]
tests-extra: allow a keystore to be shared by different zones
Daniel Salzman [Wed, 24 Dec 2025 10:19:56 +0000 (11:19 +0100)]
tests-extra: add keystore.has_key() methods
David Vašek [Mon, 26 Jan 2026 10:11:15 +0000 (11:11 +0100)]
libknot/dnssec: p11_load_module() returns KNOT_E* error codes
David Vašek [Wed, 28 Jan 2026 12:04:43 +0000 (13:04 +0100)]
kaspdb: properly remove and insert DNSSEC keys in zone-restore
David Vašek [Wed, 4 Feb 2026 13:18:56 +0000 (14:18 +0100)]
zone-keys: avoid storing never used shared-keys-to-be in the "trash bin"
David Vašek [Fri, 23 Jan 2026 17:29:35 +0000 (18:29 +0100)]
kaspdb: when adding a key, always remove all trash records of the key
David Vašek [Mon, 29 Dec 2025 13:16:38 +0000 (14:16 +0100)]
kaspdb: when making a trash key, report a malformed KASP DB key PARAMS record
David Vašek [Wed, 24 Dec 2025 10:00:20 +0000 (11:00 +0100)]
kaspdb: purging aside, use key "trash bin" for other key removals too
David Vašek [Fri, 9 Jan 2026 10:49:40 +0000 (11:49 +0100)]
doc/reference: a basic description of 'policy.trash-delay'
David Vašek [Mon, 22 Dec 2025 15:25:58 +0000 (16:25 +0100)]
kaspdb: add a configurable trash-key lifetime option
David Vašek [Mon, 8 Dec 2025 22:34:12 +0000 (23:34 +0100)]
dnssec: implement a "trash bin" for unused DNSSEC keys
David Vašek [Mon, 22 Dec 2025 13:06:48 +0000 (14:06 +0100)]
kaspdb: make flags serialization/deserialization independent functions
David Vašek [Mon, 8 Dec 2025 19:11:23 +0000 (20:11 +0100)]
kaspdb: add a "trash bin" class for unused DNSSEC keys
David Vašek [Tue, 25 Nov 2025 15:59:51 +0000 (16:59 +0100)]
purge: start using keys purge
David Vašek [Tue, 25 Nov 2025 15:59:35 +0000 (16:59 +0100)]
kaspdb: implement keys purge and orphaned keys sweep
David Vašek [Wed, 11 Feb 2026 13:56:21 +0000 (14:56 +0100)]
lmdb: add one swappable database cursor to Knot LMDB transaction
David Vašek [Fri, 30 Jan 2026 17:10:57 +0000 (18:10 +0100)]
libknot/dnssec/keystore: properly detect GnuTLS analogue of KNOT_ENOENT
WARNING:
It's still to be verified if the original (r == 0) really equals to KNOT_ENOENT.
David Vašek [Thu, 4 Dec 2025 10:06:14 +0000 (11:06 +0100)]
dnssec: initialize all keystores for orphan keys purging
David Vašek [Tue, 2 Dec 2025 15:10:19 +0000 (16:10 +0100)]
dnssec: when initializing keystore, make memory allocation optional
David Vašek [Tue, 25 Nov 2025 15:47:52 +0000 (16:47 +0100)]
kaspdb: separate key-related classes from zone-related classes
Retain backup/restore behavior.
kasp_db_delete_all() doesn't delete KASPDBKEY_PARAMS records from the KASP db anymore.
David Vašek [Tue, 25 Nov 2025 12:57:15 +0000 (13:57 +0100)]
kaspdb: modify keyid_inuse() to count uses rather than just check
David Vašek [Mon, 24 Nov 2025 23:01:10 +0000 (00:01 +0100)]
zone-keys: make key remove from keystores a separate function
Add thorough keystores cleanup as an option.
David Vašek [Mon, 24 Nov 2025 23:10:45 +0000 (00:10 +0100)]
ctl: define a keys purge filter
David Vašek [Tue, 10 Sep 2024 10:59:35 +0000 (12:59 +0200)]
zone: define a keys purge macro
David Vašek [Mon, 2 Feb 2026 12:49:33 +0000 (13:49 +0100)]
doc/reference: fix a typo
David Vašek [Tue, 20 Jan 2026 10:27:44 +0000 (11:27 +0100)]
doc/appendices: for Luna HSM's, include their manufacturer name
David Vašek [Tue, 20 Jan 2026 10:27:05 +0000 (11:27 +0100)]
doc/appendices: fix a letter case in EdDSA
David Vašek [Mon, 19 Jan 2026 18:34:06 +0000 (19:34 +0100)]
dnssec/zone-sign: fix a typo
David Vašek [Thu, 12 Feb 2026 17:19:14 +0000 (18:19 +0100)]
libknot/dnssec: coding style fix
David Vašek [Thu, 5 Feb 2026 11:11:50 +0000 (12:11 +0100)]
conf/schema: coding style fix
David Vašek [Fri, 9 Jan 2026 10:19:29 +0000 (11:19 +0100)]
conf/schema: coding style fix (ordering, white space)
David Vašek [Wed, 14 Jan 2026 16:58:26 +0000 (17:58 +0100)]
zone/purge: improve logging
David Vašek [Thu, 27 Nov 2025 11:34:00 +0000 (12:34 +0100)]
ctl/orphans_purge: avoid creating an empty catalog db when purging orphans
David Vašek [Thu, 27 Nov 2025 10:47:27 +0000 (11:47 +0100)]
ctl/orphans_purge: remove an error report when there isn't a journal
David Vašek [Wed, 15 Oct 2025 16:56:06 +0000 (18:56 +0200)]
fix some comment typos
Daniel Salzman [Mon, 18 May 2026 11:41:28 +0000 (13:41 +0200)]
tests-redis: 'make test' depends on 'make env'
Daniel Salzman [Sat, 16 May 2026 19:25:26 +0000 (21:25 +0200)]
tests-redis: add 'make env' target for simplicity
Daniel Salzman [Tue, 12 May 2026 08:45:59 +0000 (10:45 +0200)]
redis: fix allocator mismatch if Valkey is built with jemalloc on Ubuntu
Daniel Salzman [Fri, 15 May 2026 11:44:00 +0000 (13:44 +0200)]
redis: unify optional argument conditions
Jan Hák [Fri, 15 May 2026 11:25:06 +0000 (13:25 +0200)]
redis: fix update loading argument parsing
Daniel Salzman [Fri, 15 May 2026 06:40:08 +0000 (08:40 +0200)]
Merge branch 'dscheck_eemptyzone' into 'master'
NOTIFY/DS_check/push: avoid unnecessary error log when planned from timers...
Closes #969
See merge request knot/knot-dns!1870
Libor Peltan [Thu, 14 May 2026 08:35:34 +0000 (10:35 +0200)]
NOTIFY/DS_check/push: avoid unnecessary error log when planned from timers...
...and zone not loaded/XFRed yet
Jan Hák [Wed, 13 May 2026 08:31:36 +0000 (10:31 +0200)]
tests-extra: line clearing only on atty
Daniel Salzman [Mon, 11 May 2026 04:54:13 +0000 (06:54 +0200)]
Merge branch 'mod-localalias' into 'master'
Localalias module
See merge request knot/knot-dns!1867
Bron Gondwana [Thu, 30 Apr 2026 09:03:30 +0000 (05:03 -0400)]
mod-alias: synthesise ALIAS records from locally-served targets
Add the `mod-alias` query module which synthesises answers for ALIAS
records (type 65401) at query time by looking up the ALIAS target in
the server's zone database and copying the target's records into the
response with the original query name as the owner.
The module hooks at KNOTD_STAGE_PREANSWER and is attached at zone
scope (typically via a template). Behaviour:
* Fires for A/AAAA queries, any others passed through to the
standard resolver.
* ALIAS is additive: direct rrsets on the alias node are merged
with the synthesised target rrsets.
* Multiple ALIAS rdata on a node are followed and their results
merged.
* TTL = min(alias_ttl, all contributing source TTLs).
* Targets not served by a zone in this server are ignored;
external resolution is out of scope.
* Synthesised records are not signed; pair with mod-onlinesign
if signed answers are required.
The integration test runs in two random modes per invocation
(plain and DNSSEC-via-mod-onlinesign) so both code paths are
exercised over time.
Co-authored-by: Daniel Salzman <daniel.salzman@nic.cz>
Bron Gondwana [Thu, 16 Apr 2026 19:58:13 +0000 (15:58 -0400)]
libknot: add knot_alias_name() accessor for ALIAS rdata
ALIAS (type 65401) rdata is a single dname, same wire format as CNAME.
Add a named accessor and its case in knot_rdata_name(), peer to the
existing knot_cname_name() / knot_dname_target() family.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Daniel Salzman [Sat, 9 May 2026 17:19:52 +0000 (19:19 +0200)]
distro/deb: add knot_deleg_info_names symbol
Libor Peltan [Thu, 7 May 2026 09:09:27 +0000 (11:09 +0200)]
Merge branch 'fixes_jh' into 'master'
Small QUIC-related fixes
See merge request knot/knot-dns!1866
Daniel Salzman [Wed, 6 May 2026 14:11:25 +0000 (16:11 +0200)]
Merge branch 'deleg_experimental' into 'master'
implementation of preliminary DELEG specification
See merge request knot/knot-dns!1843
Daniel Salzman [Sun, 26 Apr 2026 18:26:10 +0000 (20:26 +0200)]
node: replace NODE_FLAGS_DELEG with NODE_FLAGS_DELEG_NS and NODE_FLAGS_DELEG_DELEG
Daniel Salzman [Thu, 23 Apr 2026 11:21:00 +0000 (13:21 +0200)]
adjust: move ZONE_TREE_DELEG_AWARE setting to zone_update_commit()
Daniel Salzman [Wed, 22 Apr 2026 10:17:52 +0000 (12:17 +0200)]
semchecks: check for DELEG at the zone apex
Libor Peltan [Tue, 24 Mar 2026 16:14:11 +0000 (17:14 +0100)]
DELEG: conf knob to enforce/override DELEG-awareness...
...manually, e.g. even for unsigned zones
Libor Peltan [Tue, 24 Mar 2026 13:01:26 +0000 (14:01 +0100)]
DELEG: log DELEG-awareness of zone upon load/XFR
Libor Peltan [Fri, 6 Feb 2026 14:36:52 +0000 (15:36 +0100)]
dnssec/DELEG: conf knob in policy triggers ADT
Libor Peltan [Sat, 27 Dec 2025 16:55:38 +0000 (17:55 +0100)]
dnssec/DELEG: set ADT flag for newly generated keys
Libor Peltan [Fri, 6 Feb 2026 10:45:38 +0000 (11:45 +0100)]
deleg: DELEG-aware answering depends on ADT presence
Libor Peltan [Mon, 22 Dec 2025 12:06:18 +0000 (13:06 +0100)]
DNSKEY: implemented ADT bit signalling DELEG-awareness
Libor Peltan [Fri, 19 Dec 2025 11:19:27 +0000 (12:19 +0100)]
nameserver+signer: implemented DELEG-un/aware answering
Libor Peltan [Fri, 19 Dec 2025 09:43:34 +0000 (10:43 +0100)]
libknot+kdig: support for EDNS DE flag (DELEG-aware signal)
Libor Peltan [Thu, 18 Dec 2025 10:24:18 +0000 (11:24 +0100)]
libknot: support for DELEG+DELEGPARAM rrtypes, SIDE-EFFECT:
invalid commas and quotes in any domain names in zone files are
no longer reported as "invalid domain name character" but as
"owner is invalid" or "invalid record data" etc
Daniel Salzman [Tue, 5 May 2026 08:01:18 +0000 (10:01 +0200)]
server: unify tcp-handler.c and udp-handler.h headers order
Daniel Salzman [Mon, 4 May 2026 07:56:35 +0000 (09:56 +0200)]
Merge branch 'descr_refa' into 'master'
RR descriptors refactoring
See merge request knot/knot-dns!1869
Daniel Salzman [Wed, 29 Apr 2026 07:11:37 +0000 (09:11 +0200)]
libknot: unify code knot_rrclass_from_string()
Daniel Salzman [Wed, 29 Apr 2026 07:02:04 +0000 (09:02 +0200)]
libknot: merge knot_get_rdata_descriptor() with knot_get_obsolete_rdata_descriptor()
Daniel Salzman [Wed, 29 Apr 2026 06:55:39 +0000 (08:55 +0200)]
libknot: optimize knot_rdata_descriptor_t size
Vladimír Čunát [Mon, 27 Apr 2026 14:05:21 +0000 (16:05 +0200)]
libknot: reduce the huge rdata_descriptors array
Daniel Salzman [Mon, 4 May 2026 07:10:14 +0000 (09:10 +0200)]
distro: update alias for deb-nolibxdp
Daniel Salzman [Mon, 4 May 2026 07:09:42 +0000 (09:09 +0200)]
CI: remove Debian 11 (EOL 2026-08-31)
Daniel Salzman [Mon, 4 May 2026 07:03:11 +0000 (09:03 +0200)]
CI: remove no longer supported ubuntu-20.04
Daniel Salzman [Sun, 3 May 2026 15:44:17 +0000 (17:44 +0200)]
scripts/docker: fix LegacyKeyValueFormat warnings
Daniel Salzman [Fri, 1 May 2026 18:47:18 +0000 (20:47 +0200)]
tests-fuzz: remove AFL support
The knotd_stdio wrapper is broken and unused. In the context of upcoming
AI tools, it's not worth keeping.
Daniel Salzman [Fri, 1 May 2026 05:39:42 +0000 (07:39 +0200)]
scripts: unify Dockerfile for Fedora and Rocky
And fix missing libatomic on Rocky (dependency of clang package).
Daniel Salzman [Thu, 30 Apr 2026 07:57:00 +0000 (09:57 +0200)]
tests-extra: make QUIC detection more universal
Jan Hák [Wed, 29 Apr 2026 12:20:41 +0000 (14:20 +0200)]
server: quic table max conns minimum limited to 1
Jan Hák [Wed, 29 Apr 2026 09:36:04 +0000 (11:36 +0200)]
tests-extra: add progress information
David Vasek [Tue, 28 Apr 2026 16:14:58 +0000 (18:14 +0200)]
Merge branch 'fix_id_leak' into 'master'
fix: release of id on error
See merge request knot/knot-dns!1868