]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
5 weeks agoBump version 3.4.9 3.4 v3.4.9
Daniel Salzman [Fri, 28 Nov 2025 06:15:27 +0000 (07:15 +0100)] 
Bump version 3.4.9

5 weeks agoNEWS: add version 3.4.9
Daniel Salzman [Thu, 27 Nov 2025 19:27:39 +0000 (20:27 +0100)] 
NEWS: add version 3.4.9

5 weeks agotests-extra: set number of threads to 1 for dnssec-signzone
Daniel Salzman [Tue, 25 Nov 2025 19:26:00 +0000 (20:26 +0100)] 
tests-extra: set number of threads to 1 for dnssec-signzone

5 weeks agodistro: update to latest apkg compat level 6
Jakub Ružička [Wed, 12 Nov 2025 12:47:40 +0000 (13:47 +0100)] 
distro: update to latest apkg compat level 6

Modify scripts/make-archive.sh to output YAML only to stdout as required
by latest apkg compat level 6. All stdout was redirected to stderr.

5 weeks agodoc: extend listen comment in the configuration example
Daniel Salzman [Mon, 3 Nov 2025 14:14:32 +0000 (15:14 +0100)] 
doc: extend listen comment in the configuration example

5 weeks agotests-extra: ixfr/master_pin -- provide the servers enough time
Libor Peltan [Tue, 12 Aug 2025 15:36:49 +0000 (17:36 +0200)] 
tests-extra: ixfr/master_pin -- provide the servers enough time

Especially needed with valgrind.

5 weeks agorefresh: with pinned master, refresh the zone when the tolerance period times out
Libor Peltan [Tue, 12 Aug 2025 15:36:34 +0000 (17:36 +0200)] 
refresh: with pinned master, refresh the zone when the tolerance period times out

2 months agodoc: fix typo in operation
Daniel Salzman [Mon, 27 Oct 2025 08:10:23 +0000 (09:10 +0100)] 
doc: fix typo in operation

2 months agolibdnssec: add missing digest.h to dnssec.h
Daniel Salzman [Mon, 27 Oct 2025 07:56:34 +0000 (08:56 +0100)] 
libdnssec: add missing digest.h to dnssec.h

2 months agokru: fix collision if target architecture/optimization is specified
Daniel Salzman [Sat, 18 Oct 2025 17:10:10 +0000 (19:10 +0200)] 
kru: fix collision if target architecture/optimization is specified

Related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289611

2 months agokru: don't expect obsolete Clang < 12 for optimized implementation
Daniel Salzman [Sat, 18 Oct 2025 17:05:02 +0000 (19:05 +0200)] 
kru: don't expect obsolete Clang < 12 for optimized implementation

2 months agodoc: add default TLS and QUIC ports to reference
Daniel Salzman [Wed, 24 Sep 2025 14:38:13 +0000 (16:38 +0200)] 
doc: add default TLS and QUIC ports to reference

2 months agokeymgr: deprecate local-serial command
Daniel Salzman [Mon, 13 Oct 2025 06:15:50 +0000 (08:15 +0200)] 
keymgr: deprecate local-serial command

2 months agopython: remove deprecated license classifier and some others
Daniel Salzman [Tue, 30 Sep 2025 07:52:34 +0000 (09:52 +0200)] 
python: remove deprecated license classifier and some others

2 months agodistro/deb: remove obsolete if from rules
Daniel Salzman [Tue, 30 Sep 2025 06:45:00 +0000 (08:45 +0200)] 
distro/deb: remove obsolete if from rules

2 months agodistro/deb: fix lintian issue debian-rules-uses-as-needed-linker-flag
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

2 months agodoc: improve knsec3hash description
Daniel Salzman [Sat, 27 Sep 2025 19:03:04 +0000 (21:03 +0200)] 
doc: improve knsec3hash description

2 months agodistro/deb: Remove redundant Rules-Requires-Root: no
Daniel Salzman [Sat, 27 Sep 2025 16:48:50 +0000 (18:48 +0200)] 
distro/deb: Remove redundant Rules-Requires-Root: no

2 months agodoc/operation: add a note about backup/restore of generated catalog zone unique-id's
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

2 months agocontrib/files: fix stream error handling (clang analyzer)
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.

2 months agokeymgr: fix possible NULL dereference when parsing import-key params (clang analyzer)
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)

2 months agoDockerfile: fix protocol in EXPOSE instruction should be lowercase
Daniel Salzman [Wed, 17 Sep 2025 05:17:41 +0000 (07:17 +0200)] 
Dockerfile: fix protocol in EXPOSE instruction should be lowercase

2 months agoexporter: add missing connection close
Daniel Salzman [Wed, 10 Sep 2025 11:13:55 +0000 (13:13 +0200)] 
exporter: add missing connection close

2 months agolibknot/QUIC: send RETRY packet if indicated also by ngtcp2_conn_read_pkt
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

2 months agoconf: fix check for allowed empty reference
Daniel Salzman [Fri, 5 Sep 2025 18:41:21 +0000 (20:41 +0200)] 
conf: fix check for allowed empty reference

Fixes 4784c4c60199afa85daec96c70fa04daf0705efe

2 months agodoc: add a warning to zone-begin and improve other related parts
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

2 months agodoc: rework mod-cookies examples
Daniel Salzman [Tue, 2 Sep 2025 14:02:13 +0000 (16:02 +0200)] 
doc: rework mod-cookies examples

2 months agoXFR/master-selection: try all masters if more than one sent NOTIFY
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

2 months agodoc: remove misleading note for mod-cookies
Daniel Salzman [Fri, 29 Aug 2025 18:18:38 +0000 (20:18 +0200)] 
doc: remove misleading note for mod-cookies

2 months agoClarify -j doesn't apply to TSIG keys.
JP Mens [Fri, 29 Aug 2025 14:29:03 +0000 (16:29 +0200)] 
Clarify -j doesn't apply to TSIG keys.

2 months agonet: fix unused warning on some systems
Daniel Salzman [Sat, 16 Aug 2025 16:40:28 +0000 (18:40 +0200)] 
net: fix unused warning on some systems

2 months agopython: uncomment zone-status filter 'u' in the doc
Daniel Salzman [Fri, 15 Aug 2025 05:22:34 +0000 (07:22 +0200)] 
python: uncomment zone-status filter 'u' in the doc

2 months agoman/kdig: add quic to protocols which support keepopen
Frantisek Tobias [Tue, 12 Aug 2025 12:39:33 +0000 (14:39 +0200)] 
man/kdig: add quic to protocols which support keepopen

2 months agotests-extra: adjust random tsig parameters to be less annoying
Daniel Salzman [Mon, 11 Aug 2025 13:51:52 +0000 (15:51 +0200)] 
tests-extra: adjust random tsig parameters to be less annoying

5 months agoBump version 3.4.8 v3.4.8
Daniel Salzman [Tue, 29 Jul 2025 05:47:15 +0000 (07:47 +0200)] 
Bump version 3.4.8

5 months agoNEWS: add version 3.4.8
Daniel Salzman [Mon, 28 Jul 2025 17:46:02 +0000 (19:46 +0200)] 
NEWS: add version 3.4.8

5 months agoserver: don't iterate through all zones to check reverse-generate when conf-commit
Daniel Salzman [Thu, 17 Jul 2025 10:01:44 +0000 (12:01 +0200)] 
server: don't iterate through all zones to check reverse-generate when conf-commit

5 months agoctl: allow zone-reload on expired zone
Daniel Salzman [Fri, 25 Jul 2025 11:34:24 +0000 (13:34 +0200)] 
ctl: allow zone-reload on expired zone

This operation is useful for resolving issues such as journal inconsistencies.

5 months agozone-update: bugfix: correctly revert adjustments to otherwise unaffected nodes
Libor Peltan [Mon, 16 Jun 2025 09:59:23 +0000 (11:59 +0200)] 
zone-update: bugfix: correctly revert adjustments to otherwise unaffected nodes

5 months agolibngtcp2: update embedded library to v1.14.0
Jan Doskočil [Fri, 25 Jul 2025 15:31:21 +0000 (17:31 +0200)] 
libngtcp2: update embedded library to v1.14.0

5 months agodoc: improve description of reverse-generate
Daniel Salzman [Fri, 25 Jul 2025 11:32:20 +0000 (13:32 +0200)] 
doc: improve description of reverse-generate

5 months agoserver: fix possible use after free if member zone is reused when full reload
Daniel Salzman [Fri, 25 Jul 2025 06:19:50 +0000 (08:19 +0200)] 
server: fix possible use after free if member zone is reused when full reload

5 months agokeymgr: make log message more general
Daniel Salzman [Mon, 21 Jul 2025 07:03:18 +0000 (09:03 +0200)] 
keymgr: make log message more general

5 months agokeymgr: support colon separators in keyid
Daniel Salzman [Mon, 21 Jul 2025 06:43:36 +0000 (08:43 +0200)] 
keymgr: support colon separators in keyid

5 months agokeymgr: refactoring
Daniel Salzman [Sat, 19 Jul 2025 17:48:04 +0000 (19:48 +0200)] 
keymgr: refactoring

5 months agokeymgr: update help and documentation
Daniel Salzman [Sat, 19 Jul 2025 18:43:47 +0000 (20:43 +0200)] 
keymgr: update help and documentation

5 months agokeymgr: interpret omitted bool argument as true
Daniel Salzman [Sat, 19 Jul 2025 18:17:42 +0000 (20:17 +0200)] 
keymgr: interpret omitted bool argument as true

5 months agokeymgr: implement key for-auto key pregeneration
Libor Peltan [Tue, 8 Jul 2025 09:30:17 +0000 (11:30 +0200)] 
keymgr: implement key for-auto key pregeneration

5 months agozone: optimize preferred_master allocation
David Vašek [Wed, 4 Jun 2025 11:44:36 +0000 (13:44 +0200)] 
zone: optimize preferred_master allocation

5 months agoknot: skip empty timers at lmdb key
Jan Hák [Thu, 17 Jul 2025 09:19:51 +0000 (11:19 +0200)] 
knot: skip empty timers at lmdb key

5 months agoconf: rework notify-delay to be more practical and consistent with Bind
Daniel Salzman [Thu, 26 Jun 2025 16:18:37 +0000 (18:18 +0200)] 
conf: rework notify-delay to be more practical and consistent with Bind

5 months agotests-extra: dnssec/dnskey_sync -- avoid infinite loop
David Vašek [Mon, 14 Jul 2025 16:37:37 +0000 (18:37 +0200)] 
tests-extra: dnssec/dnskey_sync -- avoid infinite loop

5 months agodoc/operation: update the XDP section to TCP and QUIC protocols
David Vašek [Mon, 7 Jul 2025 09:29:26 +0000 (11:29 +0200)] 
doc/operation: update the XDP section to TCP and QUIC protocols

5 months agorequestor: avoid calling close(-1) (Coverity)
Daniel Salzman [Mon, 30 Jun 2025 04:52:46 +0000 (06:52 +0200)] 
requestor: avoid calling close(-1) (Coverity)

5 months agorefresh: establish a new TCP connection for XFR if no-edns is set
Daniel Salzman [Wed, 25 Jun 2025 12:51:16 +0000 (14:51 +0200)] 
refresh: establish a new TCP connection for XFR if no-edns is set

5 months agotests-extra: attempt to fix tls/quic xfr tests
Daniel Salzman [Thu, 26 Jun 2025 11:32:58 +0000 (13:32 +0200)] 
tests-extra: attempt to fix tls/quic xfr tests

5 months agotests-extra: improve stability of quic/xfr under Valgrind
Daniel Salzman [Tue, 24 Jun 2025 07:43:38 +0000 (09:43 +0200)] 
tests-extra: improve stability of quic/xfr under Valgrind

5 months agoserver: decrease SESSION_TICKET_POOL_TIMEOUT to 1200 seconds
Daniel Salzman [Mon, 23 Jun 2025 16:02:17 +0000 (18:02 +0200)] 
server: decrease SESSION_TICKET_POOL_TIMEOUT to 1200 seconds

5 months agokdig: add an example for RFC4892 to documentation
Daniel Salzman [Fri, 13 Jun 2025 05:48:03 +0000 (07:48 +0200)] 
kdig: add an example for RFC4892 to documentation

5 months agoutils: add class aliases INTERNET and CHAOS
Daniel Salzman [Fri, 13 Jun 2025 05:29:04 +0000 (07:29 +0200)] 
utils: add class aliases INTERNET and CHAOS

5 months agodistro/tests: new python-libknot test
Jakub Ružička [Fri, 13 Jun 2025 10:58:06 +0000 (12:58 +0200)] 
distro/tests: new python-libknot test

5 months agodistro/tests: fix apkg test Depends
Jakub Ružička [Fri, 13 Jun 2025 11:22:37 +0000 (13:22 +0200)] 
distro/tests: fix apkg test Depends

It's not possible to distro.match() against pkgstyles such as `rpm` or
`deb` with current apkg.

5 months agodistro/rpm: remove %{_isa} from noarch packages' Requires
Jakub Ružička [Fri, 13 Jun 2025 11:29:49 +0000 (13:29 +0200)] 
distro/rpm: remove %{_isa} from noarch packages' Requires

noarch packages shouldn't depend on specific architectures.

7 months agoBump version 3.4.7 v3.4.7
Daniel Salzman [Wed, 4 Jun 2025 06:56:38 +0000 (08:56 +0200)] 
Bump version 3.4.7

7 months agoNEWS: add version 3.4.7
Daniel Salzman [Wed, 4 Jun 2025 06:55:45 +0000 (08:55 +0200)] 
NEWS: add version 3.4.7

7 months agoctl: add 'parser failed,' prefix to zone-(un)set error messages
Daniel Salzman [Tue, 3 Jun 2025 11:35:18 +0000 (13:35 +0200)] 
ctl: add 'parser failed,' prefix to zone-(un)set error messages

7 months agodistro/rpm: use modern %pyproject_* macros
Jakub Ružička [Mon, 12 May 2025 11:38:56 +0000 (13:38 +0200)] 
distro/rpm: use modern %pyproject_* macros

Support new %pyproject_* macros where they're supported, otherwise use
older %py3_* macros which work everywhere.

Introduce new %{PYPROJECT} var which is only set on distros supporting
new macros - Fedora >= 40 and EL >= 9.

7 months agodistro/rpm: add knot-exporter and python3-libknot RPM subpackages
Jakub Ružička [Mon, 28 Apr 2025 16:13:58 +0000 (18:13 +0200)] 
distro/rpm: add knot-exporter and python3-libknot RPM subpackages

7 months agopkt: fix our check for trailing rdata when parsing
Vladimír Čunát [Mon, 2 Jun 2025 13:57:23 +0000 (15:57 +0200)] 
pkt: fix our check for trailing rdata when parsing

- in case the \0 terminator got "compressed", we would get
  a spurious KNOT_EMALF
- if real compression happened, we could miss the fact
  that there are trailing data

7 months agozonemd: emit 'dnssec-invalid' dbus event when validation fails
Daniel Salzman [Fri, 30 May 2025 11:50:19 +0000 (13:50 +0200)] 
zonemd: emit 'dnssec-invalid' dbus event when validation fails

7 months agokdig: support certificates missing Subject field
Jan Doskočil [Fri, 23 May 2025 12:05:52 +0000 (14:05 +0200)] 
kdig: support certificates missing Subject field

7 months agoctl: don't log zone-(un)set parser failed, send details to the client instead
Daniel Salzman [Mon, 2 Jun 2025 06:30:28 +0000 (08:30 +0200)] 
ctl: don't log zone-(un)set parser failed, send details to the client instead

7 months agoquic-handler: add check for empty conn to prevent assert
Daniel Salzman [Sun, 1 Jun 2025 07:06:44 +0000 (09:06 +0200)] 
quic-handler: add check for empty conn to prevent assert

7 months agodnskey-sync: use deterministic jitter always if keytag-modulo is configured
Daniel Salzman [Fri, 30 May 2025 10:44:26 +0000 (12:44 +0200)] 
dnskey-sync: use deterministic jitter always if keytag-modulo is configured

7 months agolibngtcp2: update to v1.13.0
Jan Doskočil [Mon, 26 May 2025 15:59:37 +0000 (17:59 +0200)] 
libngtcp2: update to v1.13.0

7 months agoscripts: more robust update_ngtcp2.sh script
Jan Doskočil [Mon, 26 May 2025 15:41:36 +0000 (17:41 +0200)] 
scripts: more robust update_ngtcp2.sh script

7 months agoconf: call zone checks for catalog-templates
Daniel Salzman [Wed, 14 May 2025 15:52:53 +0000 (17:52 +0200)] 
conf: call zone checks for catalog-templates

Note that these checks cannot be called for normal templates as templates
can be combined with zone-specific options (i.e. a template itself can be
invalid)!

7 months agodnskey-sync: add jitter to scheduled event to minimize race condition
Daniel Salzman [Fri, 16 May 2025 07:56:27 +0000 (09:56 +0200)] 
dnskey-sync: add jitter to scheduled event to minimize race condition

7 months agologging: alg/ksk roll: inform about pre-scheduled retirement after DS TTL
Libor Peltan [Thu, 22 May 2025 11:38:44 +0000 (13:38 +0200)] 
logging: alg/ksk roll: inform about pre-scheduled retirement after DS TTL

7 months agodnskey sync: skip rrs with different keytag modulo
Libor Peltan [Thu, 22 May 2025 11:02:37 +0000 (13:02 +0200)] 
dnskey sync: skip rrs with different keytag modulo

7 months agobenevolent IXFR: bugfix: when ignoring rem/add, dont skip whole rrset
Libor Peltan [Thu, 22 May 2025 11:01:11 +0000 (13:01 +0200)] 
benevolent IXFR: bugfix: when ignoring rem/add, dont skip whole rrset

7 months agoutils: mute Coverity (invalid type)
Daniel Salzman [Sun, 25 May 2025 08:59:38 +0000 (10:59 +0200)] 
utils: mute Coverity (invalid type)

7 months agopython3-libknot: improve README example
Daniel Salzman [Fri, 23 May 2025 11:31:50 +0000 (13:31 +0200)] 
python3-libknot: improve README example

7 months agoknot-exporter: remove return within a finally block
Daniel Salzman [Fri, 23 May 2025 11:30:13 +0000 (13:30 +0200)] 
knot-exporter: remove return within a finally block

fixes #957

7 months agoCI: add fedora-42 and alma-10
Daniel Salzman [Thu, 22 May 2025 16:17:50 +0000 (18:17 +0200)] 
CI: add fedora-42 and alma-10

7 months agotests-extra: allow lower number of server start retries for recoverable start failures
David Vašek [Sat, 17 May 2025 10:34:27 +0000 (12:34 +0200)] 
tests-extra: allow lower number of server start retries for recoverable start failures

7 months agotests-extra: when ports are busy, really allow a retry with a different configuration
David Vašek [Sat, 17 May 2025 10:34:15 +0000 (12:34 +0200)] 
tests-extra: when ports are busy, really allow a retry with a different configuration

7 months agotests-extra: if a servers doesn't start during test startup, restart the startup...
David Vašek [Mon, 19 May 2025 09:26:42 +0000 (11:26 +0200)] 
tests-extra: if a servers doesn't start during test startup, restart the startup process

In the past, knotd server continued running even after binding of some ports failed.
This is no longer true for some time. The tests didn't reflect it.

7 months agotests-extra: fix the repeated server startup
David Vašek [Fri, 16 May 2025 12:42:27 +0000 (14:42 +0200)] 
tests-extra: fix the repeated server startup

A workaround of already fixed flaw doesn't apply anymore.

7 months agoconf: implement notify-delay option
Jan Doskočil [Wed, 21 May 2025 12:58:42 +0000 (14:58 +0200)] 
conf: implement notify-delay option

7 months agocatalog: check if member zone configured with non-generated catalog
Daniel Salzman [Tue, 13 May 2025 07:37:29 +0000 (09:37 +0200)] 
catalog: check if member zone configured with non-generated catalog

7 months agotls: DEBUG: print Subject Alternative Name
Daniel Salzman [Fri, 13 Sep 2024 12:48:01 +0000 (20:48 +0800)] 
tls: DEBUG: print Subject Alternative Name

Based on https://github.com/CZ-NIC/knot/pull/31

7 months agokru: don't compile optimized version on macOS
Daniel Salzman [Fri, 9 May 2025 16:39:21 +0000 (18:39 +0200)] 
kru: don't compile optimized version on macOS

This fixes compilation and CPU detection issues. The optimized version requires
x86 SIMD anyway.

7 months agodoc: zone/reverse: some more description
Libor Peltan [Tue, 6 May 2025 12:10:24 +0000 (14:10 +0200)] 
doc: zone/reverse: some more description

7 months agorefactoring/errors: two more specific codes instead of most KNOT_EAGAIN
Libor Peltan [Tue, 6 May 2025 11:19:16 +0000 (13:19 +0200)] 
refactoring/errors: two more specific codes instead of most KNOT_EAGAIN

7 months agoerrors: less misleading message
Libor Peltan [Tue, 6 May 2025 11:09:25 +0000 (13:09 +0200)] 
errors: less misleading message

7 months agoreverse/load: bump level of explaining log when referenced zone not loaded
Libor Peltan [Tue, 6 May 2025 11:07:35 +0000 (13:07 +0200)] 
reverse/load: bump level of explaining log when referenced zone not loaded

7 months agokdig: print warning if TLS 1.2 is used
Daniel Salzman [Tue, 6 May 2025 10:32:26 +0000 (12:32 +0200)] 
kdig: print warning if TLS 1.2 is used

7 months agolibknot/tls: don't use %DISABLE_TLS13_COMPAT_MODE with old GnuTLS versions...
Daniel Salzman [Tue, 6 May 2025 08:30:57 +0000 (10:30 +0200)] 
libknot/tls: don't use %DISABLE_TLS13_COMPAT_MODE with old GnuTLS versions...

and allow TLS 1.2 in kdig.

7 months agokzonecheck: support specified job count
Jan Hák [Fri, 2 May 2025 11:01:50 +0000 (13:01 +0200)] 
kzonecheck: support specified job count