]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
David Vašek [Thu, 16 Oct 2025 13:24:35 +0000 (15:24 +0200)]
WIP doc/reference: in keystore section, note that OS privileges may need to be set
Daniel Salzman [Thu, 16 Oct 2025 06:12:42 +0000 (08:12 +0200)]
redis: fix compilation if hiredis without TLS
Daniel Salzman [Thu, 25 Sep 2025 13:26:57 +0000 (15:26 +0200)]
redis: add multi-db and/or sentinel support
Daniel Salzman [Mon, 6 Oct 2025 09:35:42 +0000 (11:35 +0200)]
tests-redis: add --use-aof
Daniel Salzman [Wed, 24 Sep 2025 14:38:13 +0000 (16:38 +0200)]
doc: add default TLS and QUIC ports to reference
Daniel Salzman [Wed, 24 Sep 2025 14:28:18 +0000 (16:28 +0200)]
redis: add support for hostname listen specification
Daniel Salzman [Wed, 24 Sep 2025 13:46:57 +0000 (15:46 +0200)]
conf: introduce macros for default ports
Daniel Salzman [Wed, 15 Oct 2025 10:33:04 +0000 (12:33 +0200)]
Merge branch 'knotc_zone_serial' into 'master'
knotc: implemented zone-serial-set
See merge request knot/knot-dns!1811
Libor Peltan [Thu, 2 Oct 2025 13:08:30 +0000 (15:08 +0200)]
knotc: implemented zone-serial-set
Daniel Salzman [Mon, 13 Oct 2025 06:21:45 +0000 (08:21 +0200)]
keymgr: remove local-serial command
Daniel Salzman [Mon, 13 Oct 2025 06:15:50 +0000 (08:15 +0200)]
keymgr: deprecate local-serial command
David Vašek [Tue, 14 Oct 2025 18:29:42 +0000 (20:29 +0200)]
zone: fix a recent memory leak
Daniel Salzman [Tue, 14 Oct 2025 12:23:32 +0000 (14:23 +0200)]
Merge branch 'restore_fix' into 'master'
Fix and improve restore if PKCS #11 is in use
Closes #960
See merge request knot/knot-dns!1813
Daniel Salzman [Mon, 13 Oct 2025 14:13:06 +0000 (16:13 +0200)]
dnssec: fix loading from more keystores if the key not in HSM
Daniel Salzman [Fri, 10 Oct 2025 07:36:04 +0000 (09:36 +0200)]
backup: fix restore error if only PKCS #11 keystores are configured
Daniel Salzman [Tue, 14 Oct 2025 07:54:11 +0000 (09:54 +0200)]
Merge branch 'up_inc_diff_soarem' into 'master'
update: incremental without NO_CHSET standalone SOA removal ignored...
See merge request knot/knot-dns!1814
Libor Peltan [Mon, 13 Oct 2025 14:29:23 +0000 (16:29 +0200)]
update: incremental without NO_CHSET standalone SOA removal ignored...
otherwise for example knotc zone-begin followed by zone-diff shows SOA removal,
which respects the internals but makes no sense
Daniel Salzman [Wed, 8 Oct 2025 16:06:00 +0000 (18:06 +0200)]
zonedb-load: fix zone loading which were included by conf-set include
Daniel Salzman [Wed, 8 Oct 2025 15:41:48 +0000 (17:41 +0200)]
conf: remove improper flags at 'reverse-generate' and 'include-from'
Daniel Salzman [Wed, 8 Oct 2025 15:04:54 +0000 (17:04 +0200)]
zonedb-load: remove redundant ZONE_EVENT_LOAD schedulings
Daniel Salzman [Wed, 8 Oct 2025 12:45:55 +0000 (14:45 +0200)]
replan: move zone_notifailed_clear() to zonedb-load for consistency
Daniel Salzman [Sun, 5 Oct 2025 16:42:51 +0000 (18:42 +0200)]
zonedb-load: move common code to get_zone()
Daniel Salzman [Tue, 7 Oct 2025 17:43:21 +0000 (19:43 +0200)]
ddns: fix assert if TLS communication and no QUIC available
Daniel Salzman [Tue, 7 Oct 2025 15:06:27 +0000 (17:06 +0200)]
Merge branch 'zonefile_write_fix' into 'master'
check fprintf() and fclose() return values
See merge request knot/knot-dns!1812
David Vašek [Thu, 25 Sep 2025 09:04:52 +0000 (11:04 +0200)]
properly check fprintf() and fclose() return value
JSON functions, tests, and debug functions, where it isn't vital, remain without checking.
Checking and reporting for log and stats files will be solved separately.
David Vašek [Tue, 30 Sep 2025 10:56:02 +0000 (12:56 +0200)]
fix a comment typo
Jan Hák [Fri, 3 Oct 2025 08:29:09 +0000 (10:29 +0200)]
dbus: add serial to external_verify event
Daniel Salzman [Tue, 30 Sep 2025 05:52:49 +0000 (07:52 +0200)]
distro: rename redis-knot to redis-module-knot or valkey-module-knot
Install the module to:
- /usr/lib/x86_64-linux-gnu/redis/modules/ for DEB
- /usr/lib64/valkey/modules/ for RPM
Daniel Salzman [Fri, 3 Oct 2025 13:52:28 +0000 (15:52 +0200)]
configure: add --with-redisdir parameter
Daniel Salzman [Tue, 30 Sep 2025 07:52:34 +0000 (09:52 +0200)]
python: remove deprecated license classifier and some others
Daniel Salzman [Tue, 30 Sep 2025 06:45:00 +0000 (08:45 +0200)]
distro/deb: remove obsolete if from rules
Daniel Salzman [Tue, 30 Sep 2025 06:16:12 +0000 (08:16 +0200)]
distro/deb: fix lintian issue debian-rules-uses-as-needed-linker-flag
Daniel Salzman [Tue, 30 Sep 2025 05:50:30 +0000 (07:50 +0200)]
distro/deb: fix lintian issue not-binnmuable-all-depends-any
E: knot source: not-binnmuable-all-depends-any python3-libknot -> libknot16
David Vašek [Wed, 1 Oct 2025 08:12:51 +0000 (10:12 +0200)]
utils/knotc: add a workaround for missing PATH_MAX macro, needed on GNU Hurd
For details see:
https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
Added a lower limit of 1024, just to be sure.
Daniel Salzman [Sat, 27 Sep 2025 19:03:04 +0000 (21:03 +0200)]
doc: improve knsec3hash description
Daniel Salzman [Sat, 27 Sep 2025 18:53:42 +0000 (20:53 +0200)]
distro/deb: package descriptions cleanup
Daniel Salzman [Sat, 27 Sep 2025 18:34:16 +0000 (20:34 +0200)]
distro/deb: add knot-keymgr to Depends for tests
Daniel Salzman [Sat, 27 Sep 2025 16:49:49 +0000 (18:49 +0200)]
distro/deb: Update Standards-Version to latest 4.7.2 (no changes)
Daniel Salzman [Sat, 27 Sep 2025 16:48:50 +0000 (18:48 +0200)]
distro/deb: Remove redundant Rules-Requires-Root: no
Daniel Salzman [Fri, 26 Sep 2025 12:43:52 +0000 (14:43 +0200)]
configure: fix linking with libhiredis if --disable-redis
Jan Doskočil [Wed, 24 Sep 2025 11:03:53 +0000 (13:03 +0200)]
scripts: misc improvements to update_ngtcp2.sh
If new files were added between libngtcp2 versions, the script will now
store the files in a "NEWFILES" directory for operator's convenience.
Jan Doskočil [Wed, 24 Sep 2025 10:53:58 +0000 (12:53 +0200)]
libngtcp2: update embedded library to v1.16.0
David Vašek [Fri, 22 Nov 2024 18:55:10 +0000 (19:55 +0100)]
ctl/purge: remove an obsolete comment
David Vašek [Fri, 22 Nov 2024 18:43:58 +0000 (19:43 +0100)]
doc/operation: add a note about backup/restore of generated catalog zone unique-id's
Jan Hák [Thu, 18 Sep 2025 09:01:11 +0000 (11:01 +0200)]
contrib/files: fix stream error handling (clang analyzer)
POSIX / fread():
The file position indicator for the stream (if defined) shall be advanced by the
number of bytes successfully read. If an error occurs, the resulting value of
the file position indicator for the stream is unspecified. If a partial element
is read, its value is unspecified.
Jan Hák [Tue, 23 Sep 2025 10:52:25 +0000 (12:52 +0200)]
fix: failing build of knot/common/stats.c on PowerPC and MIPS
Daniel Salzman [Fri, 19 Sep 2025 10:58:02 +0000 (12:58 +0200)]
Merge branch 'opt_redis' into 'master'
Make redis fully optional
See merge request knot/knot-dns!1808
Nicolas PARLANT [Fri, 19 Sep 2025 08:36:55 +0000 (10:36 +0200)]
Make redis fully optional
Add options :
*client (only) for a knot package
*module (only) for a redis-knot package
Daniel Salzman [Thu, 18 Sep 2025 05:23:03 +0000 (07:23 +0200)]
Bump version 3.6.dev
Daniel Salzman [Wed, 17 Sep 2025 06:44:21 +0000 (08:44 +0200)]
keymgr: fix possible NULL dereference when parsing import-key params (clang analyzer)
Daniel Salzman [Wed, 17 Sep 2025 06:29:16 +0000 (08:29 +0200)]
digest: avoid freeing a local variable (clang analyzer)
Daniel Salzman [Wed, 17 Sep 2025 06:24:51 +0000 (08:24 +0200)]
reverse: add assert for clang analyzer
Daniel Salzman [Mon, 8 Sep 2025 07:06:58 +0000 (09:06 +0200)]
NEWS: add version 3.5.0
Daniel Salzman [Mon, 8 Sep 2025 06:06:12 +0000 (08:06 +0200)]
doc: add migration from 3.4.x to 3.5.x
Daniel Salzman [Wed, 17 Sep 2025 05:17:41 +0000 (07:17 +0200)]
Dockerfile: fix protocol in EXPOSE instruction should be lowercase
Daniel Salzman [Wed, 10 Sep 2025 17:53:02 +0000 (19:53 +0200)]
exporter: distinguish global and zone stats + fixes and improvements
Thanks to Guillaume Cornet <cornet.guillaume.pierre@gmail.com>
Daniel Salzman [Tue, 16 Sep 2025 13:06:52 +0000 (15:06 +0200)]
Merge branch 'update_delay' into 'master'
implemented update-delay
See merge request knot/knot-dns!1807
Libor Peltan [Tue, 16 Sep 2025 08:52:47 +0000 (10:52 +0200)]
knotd: implement update-delay
Jan Hák [Mon, 15 Sep 2025 09:59:00 +0000 (11:59 +0200)]
redis: fix misaligned metadata access (UBSAN)
Daniel Salzman [Mon, 15 Sep 2025 12:52:32 +0000 (14:52 +0200)]
Merge branch 'include_from_into_axfr' into 'master'
reverse+include-from: allow at slave, forcing ixfr-from-axfr
See merge request knot/knot-dns!1806
Libor Peltan [Fri, 12 Sep 2025 13:01:09 +0000 (15:01 +0200)]
reverse+include-from: allow at slave, forcing ixfr-from-axfr
Daniel Salzman [Fri, 12 Sep 2025 15:02:04 +0000 (17:02 +0200)]
Merge branch 'redis'
Daniel Salzman [Tue, 9 Sep 2025 13:54:56 +0000 (15:54 +0200)]
doc: extend introduction requirements, configuration, and operation with database zone backend
Libor Peltan [Mon, 28 Jul 2025 15:03:16 +0000 (17:03 +0200)]
doc: add reference for redis-related options
Daniel Salzman [Thu, 4 Sep 2025 08:15:10 +0000 (10:15 +0200)]
redis: write RRsets in batches to reduce processing overhead
Libor Peltan [Mon, 11 Aug 2025 13:45:13 +0000 (15:45 +0200)]
redis: keep DB conns open and stored in conn_pool
Libor Peltan [Mon, 28 Jul 2025 15:03:37 +0000 (17:03 +0200)]
redis: load from DB within zone loading
Libor Peltan [Sun, 27 Jul 2025 14:59:48 +0000 (16:59 +0200)]
redis: write to DB from zone_update_commit()
Daniel Salzman [Tue, 28 Jan 2025 13:34:34 +0000 (14:34 +0100)]
knot: prepare for integration of the Redis backend
Jan Hák [Fri, 17 Jan 2025 07:28:15 +0000 (08:28 +0100)]
redis: initial implementation of a Knot module for Redis
Libor Peltan [Sun, 27 Jul 2025 08:56:38 +0000 (10:56 +0200)]
tests-extra: initial support for testing Knot with Redis backend
Jan Hák [Fri, 18 Jul 2025 13:03:11 +0000 (15:03 +0200)]
tests-redis: introduce redis module unit tests
Daniel Salzman [Tue, 29 Jul 2025 15:51:01 +0000 (17:51 +0200)]
Dockerfile: enable Redis
Jakub Ružička [Mon, 11 Aug 2025 10:55:16 +0000 (12:55 +0200)]
distro/rpm: add redis-knot subpackage
Daniel Salzman [Thu, 12 Jun 2025 13:06:49 +0000 (15:06 +0200)]
distro/deb: add redis-knot subpackage
Daniel Salzman [Fri, 24 Jan 2025 07:31:43 +0000 (08:31 +0100)]
configure: prepare for Redis
Daniel Salzman [Fri, 25 Jul 2025 09:14:11 +0000 (11:14 +0200)]
redis: fix a few compile warnings in the module API
Daniel Salzman [Thu, 16 Jan 2025 09:56:53 +0000 (10:56 +0100)]
contrib: add redismodule.h version 7.0
From https://github.com/RedisLabsModules/RedisModulesSDK/blob/master/7.0/redismodule.h
Daniel Salzman [Sun, 8 Jun 2025 17:02:55 +0000 (19:02 +0200)]
base32hex: rename MAX_BIN_DATA_LEN to avoid name collision
Daniel Salzman [Sun, 8 Jun 2025 16:57:54 +0000 (18:57 +0200)]
base64: rename PD and MAX_BIN_DATA_LEN to avoid name collisions
Daniel Salzman [Sun, 8 Jun 2025 16:53:21 +0000 (18:53 +0200)]
zscanner: rename wire_dname_to_str() to dname_to_str() to avoid name collision
Daniel Salzman [Sat, 7 Jun 2025 15:13:33 +0000 (17:13 +0200)]
libknot: add knot_rdata_to_canonical()
Daniel Salzman [Fri, 12 Sep 2025 07:50:58 +0000 (09:50 +0200)]
Merge branch 'flatten' into 'master'
Subzone inclusion
See merge request knot/knot-dns!1805
Daniel Salzman [Fri, 12 Sep 2025 07:28:15 +0000 (09:28 +0200)]
tests-extra: fix response.check() to check both rdata and nordata
Daniel Salzman [Thu, 11 Sep 2025 14:53:20 +0000 (16:53 +0200)]
conf: fix knotd_conf_check_args_t.id value when calling from file parsing
Libor Peltan [Thu, 11 Sep 2025 14:54:42 +0000 (16:54 +0200)]
zone: implemented including records from subzone(s)
Libor Peltan [Wed, 10 Sep 2025 15:48:32 +0000 (17:48 +0200)]
zone/reverse: refactoring: pointer at reversed zone is a structure
David Vasek [Thu, 11 Sep 2025 16:23:31 +0000 (18:23 +0200)]
Merge branch 'event_loop_speed' into 'master'
Tune the start-detection/loaded-detection loop in knotd.
See merge request knot/knot-dns!1803
Libor Peltan [Tue, 9 Sep 2025 07:08:11 +0000 (09:08 +0200)]
knotd/check_loaded: refactoring: all computations in milliseconds
Libor Peltan [Tue, 9 Sep 2025 07:08:11 +0000 (09:08 +0200)]
contrib/time: add millisecond time functions
Libor Peltan [Tue, 9 Sep 2025 07:07:44 +0000 (09:07 +0200)]
contrib/macros: allow mutually nested MIN(MAX(...))
David Vašek [Tue, 5 Aug 2025 10:47:56 +0000 (12:47 +0200)]
knotd: tune the start-detection/loaded-detection loop
Tune the start-detection loop to be dependent on the system performance and the zonedb size.
The sleep time is set to be double of the time to walk through whole zonedb, with upper and
lower limits.
Sleep time in the loaded-detection loop is constant for one minute, then starts to grow
exponentially. It starts at 1 second or at the start-detection sleep time, whichever is higher,
and stops at an upper limit.
Daniel Salzman [Wed, 10 Sep 2025 11:13:55 +0000 (13:13 +0200)]
exporter: add missing connection close
Daniel Salzman [Tue, 9 Sep 2025 13:23:03 +0000 (15:23 +0200)]
Merge branch 'quic_retry_readpkt' into 'master'
libknot/QUIC: send RETRY packet if indicated also by ngtcp2_conn_read_pkt
See merge request knot/knot-dns!1804
Libor Peltan [Tue, 9 Sep 2025 08:16:55 +0000 (10:16 +0200)]
libknot/QUIC: send RETRY packet if indicated also by ngtcp2_conn_read_pkt
Daniel Salzman [Fri, 5 Sep 2025 18:41:21 +0000 (20:41 +0200)]
conf: fix check for allowed empty reference
Fixes
4784c4c60199afa85daec96c70fa04daf0705efe
Daniel Salzman [Fri, 5 Sep 2025 08:30:49 +0000 (10:30 +0200)]
doc: add a warning to zone-begin and improve other related parts
Daniel Salzman [Tue, 2 Sep 2025 14:02:13 +0000 (16:02 +0200)]
doc: rework mod-cookies examples
Daniel Salzman [Fri, 5 Sep 2025 05:53:42 +0000 (07:53 +0200)]
Merge branch 'masters_mult_notify' into 'master'
XFR/master-selection: try all masters if more than one sent NOTIFY
See merge request knot/knot-dns!1801
Libor Peltan [Wed, 20 Aug 2025 14:02:53 +0000 (16:02 +0200)]
XFR/master-selection: try all masters if more than one sent NOTIFY