]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
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
Daniel Salzman [Thu, 4 Sep 2025 11:28:12 +0000 (13:28 +0200)]
Merge branch 'rrset_dump_errors' into 'master'
Rrset dump errors
See merge request knot/knot-dns!1800
Libor Peltan [Tue, 19 Aug 2025 15:25:56 +0000 (17:25 +0200)]
libknot/rrdump: write syntactically or semantically malformed RRs in generic format
Libor Peltan [Tue, 19 Aug 2025 15:22:19 +0000 (17:22 +0200)]
libknot/rrdump: correct error code instead of always ESPACE
Daniel Salzman [Fri, 29 Aug 2025 18:18:38 +0000 (20:18 +0200)]
doc: remove misleading note for mod-cookies
Daniel Salzman [Fri, 29 Aug 2025 18:12:21 +0000 (20:12 +0200)]
Merge branch 'jpmens-master-patch-16168' into 'master'
Clarify -j doesn't apply to TSIG keys.
See merge request knot/knot-dns!1802
JP Mens [Fri, 29 Aug 2025 14:29:03 +0000 (16:29 +0200)]
Clarify -j doesn't apply to TSIG keys.
Daniel Salzman [Sat, 23 Aug 2025 06:41:27 +0000 (08:41 +0200)]
libngtcp2: update embedded library to v1.15.0
Daniel Salzman [Tue, 19 Aug 2025 17:42:06 +0000 (19:42 +0200)]
server: remove no longer needed include
Daniel Salzman [Mon, 18 Aug 2025 06:45:40 +0000 (08:45 +0200)]
NEWS: synchronize with 3.3 and 3.4
Daniel Salzman [Tue, 29 Jul 2025 12:39:19 +0000 (14:39 +0200)]
ctl: return Loading from status when not in the ServerAnswering state
Daniel Salzman [Sat, 16 Aug 2025 16:40:28 +0000 (18:40 +0200)]
net: fix unused warning on some systems
Daniel Salzman [Fri, 15 Aug 2025 05:22:34 +0000 (07:22 +0200)]
python: uncomment zone-status filter 'u' in the doc
Daniel Salzman [Thu, 14 Aug 2025 05:40:08 +0000 (07:40 +0200)]
libs: increase SOVERSION and symbol versions for libknot, libdnssec, and libzscanner
Daniel Salzman [Wed, 13 Aug 2025 06:14:00 +0000 (08:14 +0200)]
Merge branch 'kdig-doc-keepopen' into 'master'
man/kdig: add quic to protocols which support keepopen
See merge request knot/knot-dns!1798
Frantisek Tobias [Tue, 12 Aug 2025 12:39:33 +0000 (14:39 +0200)]
man/kdig: add quic to protocols which support keepopen
Daniel Salzman [Tue, 12 Aug 2025 17:04:26 +0000 (19:04 +0200)]
Merge branch 'zonemd_troubles' into 'master'
zonemd/placeholder: dont use zero-length digest...
See merge request knot/knot-dns!1797
Libor Peltan [Tue, 12 Aug 2025 09:56:46 +0000 (11:56 +0200)]
kjournalprint: dont silently skip failed knot_rrset_txt_dump
Libor Peltan [Tue, 12 Aug 2025 15:02:47 +0000 (17:02 +0200)]
zonemd/placeholder: dont use zero-length digest...
...as its presentation format is undefined and therefore it's
impossible to read/write in case of any debug situation
Daniel Salzman [Mon, 11 Aug 2025 13:51:52 +0000 (15:51 +0200)]
tests-extra: adjust random tsig parameters to be less annoying
Daniel Salzman [Sun, 10 Aug 2025 17:06:29 +0000 (19:06 +0200)]
semaphore: force nonposix implementation on macOS
This solves two issues:
- error: undeclared function 'sem_timedwait'
- warning: 'sem_*' is deprecated
Daniel Salzman [Sun, 10 Aug 2025 05:58:19 +0000 (07:58 +0200)]
zonedb: fix possible NULL dereferences (Coverity)
Libor Peltan [Tue, 5 Aug 2025 08:52:46 +0000 (10:52 +0200)]
Merge branch 'conf-commit-optim' into 'master'
Optimize zonedb reload for many zones
See merge request knot/knot-dns!1793
Daniel Salzman [Mon, 4 Aug 2025 08:10:35 +0000 (10:10 +0200)]
man/knotd: extend signal handling