]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
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
Daniel Salzman [Wed, 2 Jul 2025 10:06:45 +0000 (12:06 +0200)]
tests-extra: improve stability of dnssec/keystores
Daniel Salzman [Tue, 1 Jul 2025 08:59:43 +0000 (10:59 +0200)]
Merge branch 'keystore_multi' into 'master'
dnssec: implemented multi-keystore option...
See merge request knot/knot-dns!1787
Daniel Salzman [Tue, 1 Jul 2025 06:10:13 +0000 (08:10 +0200)]
keymgr: print keystore name and its type when listing keys
Libor Peltan [Wed, 28 May 2025 12:57:19 +0000 (14:57 +0200)]
dnssec/multi-keystore: implemented ksk-only keystore...
...so that KSKs and ZSKs can be in distinct keystores
Libor Peltan [Tue, 27 May 2025 11:34:03 +0000 (13:34 +0200)]
dnssec: implemented multi-keystore option...
...useful e.g. for hsm-to-pem migration
Daniel Salzman [Tue, 27 May 2025 19:56:22 +0000 (21:56 +0200)]
conf: support default values for multivalued items
Daniel Salzman [Mon, 30 Jun 2025 04:52:46 +0000 (06:52 +0200)]
requestor: avoid calling close(-1) (Coverity)
Daniel Salzman [Sun, 29 Jun 2025 18:55:21 +0000 (20:55 +0200)]
libknot: avoid calling close(-1) (Coverity)
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
Daniel Salzman [Thu, 26 Jun 2025 11:32:58 +0000 (13:32 +0200)]
tests-extra: attempt to fix tls/quic xfr tests
Daniel Salzman [Tue, 24 Jun 2025 09:26:16 +0000 (11:26 +0200)]
Merge branch 'stop_in_multi_ctl' into 'master'
fix and improve server shutdown in multi-ctl
See merge request knot/knot-dns!1781
David Vašek [Tue, 24 Jun 2025 08:18:12 +0000 (10:18 +0200)]
server: coding style
David Vašek [Tue, 27 May 2025 09:13:15 +0000 (11:13 +0200)]
ctl: after receiving the 'stop' command, interrupt the socket ctl thread immediately
This enables quick shutdown without waiting for timeouts in the socket ctl thread.
David Vašek [Fri, 20 Jun 2025 16:11:10 +0000 (18:11 +0200)]
ctl: link concurrent_ctl_ctx_t to the main socket control thread
David Vašek [Thu, 15 May 2025 09:35:17 +0000 (11:35 +0200)]
ctl: don't assign to a cctx thread that carries the 'stop' information
Otherwise the 'stop' information (KNOT_CTL_ESTOP) would be overwritten.
Daniel Salzman [Tue, 24 Jun 2025 07:43:38 +0000 (09:43 +0200)]
tests-extra: improve stability of quic/xfr under Valgrind
Daniel Salzman [Mon, 23 Jun 2025 16:19:04 +0000 (18:19 +0200)]
Merge branch 'knotd-cert-ca' into 'master'
remote/acl TLS certificate validation
See merge request knot/knot-dns!1779
Daniel Salzman [Mon, 23 Jun 2025 16:02:17 +0000 (18:02 +0200)]
server: decrease SESSION_TICKET_POOL_TIMEOUT to 1200 seconds
Daniel Salzman [Mon, 23 Jun 2025 12:40:58 +0000 (14:40 +0200)]
server: purge sessticket_pool on server reload if creds changed
Jan Doskočil [Wed, 14 May 2025 11:03:39 +0000 (13:03 +0200)]
conf: implemented certificate hostname validation
Daniel Salzman [Sat, 14 Jun 2025 18:56:42 +0000 (20:56 +0200)]
Merge branch 'chaos_to_str_ext' into 'master'
Add class aliases INTERNET and CHAOS
See merge request knot/knot-dns!1785
Daniel Salzman [Fri, 13 Jun 2025 05:48:03 +0000 (07:48 +0200)]
kdig: add an example for RFC4892 to documentation
Daniel Salzman [Fri, 13 Jun 2025 05:29:04 +0000 (07:29 +0200)]
utils: add class aliases INTERNET and CHAOS
Daniel Salzman [Fri, 13 Jun 2025 17:46:22 +0000 (19:46 +0200)]
Merge branch 'pkg-python' into 'master'
distro: fix new RPM subpackages and add packaging test
See merge request knot/knot-dns!1786
Jakub Ružička [Fri, 13 Jun 2025 10:58:06 +0000 (12:58 +0200)]
distro/tests: new python-libknot test
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.
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.
Daniel Salzman [Thu, 12 Jun 2025 12:46:16 +0000 (14:46 +0200)]
src: relicense omitted files to GPL-2.0-or-later
Daniel Salzman [Tue, 3 Jun 2025 13:45:13 +0000 (15:45 +0200)]
tls: avoid passing NULL to strlen() when generating a certificate
Daniel Salzman [Tue, 3 Jun 2025 11:35:18 +0000 (13:35 +0200)]
ctl: add 'parser failed,' prefix to zone-(un)set error messages
Daniel Salzman [Tue, 3 Jun 2025 11:00:05 +0000 (13:00 +0200)]
Merge branch 'pkg_rpm_python' into 'master'
distro/rpm: use modern %pyproject_* macros
See merge request knot/knot-dns!1784
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.
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
Daniel Salzman [Mon, 2 Jun 2025 14:33:17 +0000 (16:33 +0200)]
zonefile: add libgen.h for basename(), cleanup
Daniel Salzman [Mon, 2 Jun 2025 14:10:08 +0000 (16:10 +0200)]
Merge branch 'pkt-trailing' into 'master'
pkt: fix our check for trailing rdata when parsing
See merge request knot/knot-dns!1783
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
Libor Peltan [Mon, 2 Jun 2025 13:55:43 +0000 (15:55 +0200)]
Merge branch 'zonemd_dbus' into 'master'
zonemd: emit 'dnssec-invalid' dbus event when validation fails
See merge request knot/knot-dns!1782
Daniel Salzman [Mon, 2 Jun 2025 10:33:59 +0000 (12:33 +0200)]
Merge branch 'temp-cert-sanonly' into 'master'
self-signed cert SANonly
See merge request knot/knot-dns!1778
Jan Doskočil [Fri, 23 May 2025 12:05:52 +0000 (14:05 +0200)]
kdig: support certificates missing Subject field
Jan Doskočil [Fri, 23 May 2025 12:05:29 +0000 (14:05 +0200)]
knotd: self-signed cert with SAN instead of Subject: CN
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
Daniel Salzman [Sun, 1 Jun 2025 07:06:44 +0000 (09:06 +0200)]
quic-handler: add check for empty conn to prevent assert
Daniel Salzman [Sun, 1 Jun 2025 06:56:59 +0000 (08:56 +0200)]
zonefile: fix possible memory leak (Coverity)
Daniel Salzman [Fri, 30 May 2025 11:50:19 +0000 (13:50 +0200)]
zonemd: emit 'dnssec-invalid' dbus event when validation fails
Daniel Salzman [Thu, 29 May 2025 08:53:57 +0000 (10:53 +0200)]
kzonecheck: consider zone file name with origin auto-detection
Partially revert
38f65806dd9b7af15ecd17ae3f2e71d2569a1dee
Daniel Salzman [Fri, 30 May 2025 10:44:26 +0000 (12:44 +0200)]
dnskey-sync: use deterministic jitter always if keytag-modulo is configured
Daniel Salzman [Mon, 26 May 2025 16:10:03 +0000 (18:10 +0200)]
Merge branch 'ngtcp2-update' into 'master'
libngtcp2 update
See merge request knot/knot-dns!1780
Jan Doskočil [Mon, 26 May 2025 15:59:37 +0000 (17:59 +0200)]
libngtcp2: update to v1.13.0
Jan Doskočil [Mon, 26 May 2025 15:41:36 +0000 (17:41 +0200)]
scripts: more robust update_ngtcp2.sh script
Libor Peltan [Mon, 26 May 2025 11:19:54 +0000 (13:19 +0200)]
Merge branch 'cat_tpl_check' into 'master'
conf: call zone checks for catalog-templates
See merge request knot/knot-dns!1772
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)!
Daniel Salzman [Wed, 14 May 2025 15:50:03 +0000 (17:50 +0200)]
conf: move checks to more context-logical places
Daniel Salzman [Mon, 26 May 2025 08:45:29 +0000 (10:45 +0200)]
Merge branch 'dnskey_sync_keytag' into 'master'
DNSKEY sync keytag
See merge request knot/knot-dns!1777
Daniel Salzman [Fri, 16 May 2025 07:56:27 +0000 (09:56 +0200)]
dnskey-sync: add jitter to scheduled event to minimize race condition
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
Libor Peltan [Thu, 22 May 2025 11:02:37 +0000 (13:02 +0200)]
dnskey sync: skip rrs with different keytag modulo
Libor Peltan [Thu, 22 May 2025 11:01:11 +0000 (13:01 +0200)]
benevolent IXFR: bugfix: when ignoring rem/add, dont skip whole rrset
Daniel Salzman [Sun, 25 May 2025 08:59:38 +0000 (10:59 +0200)]
utils: mute Coverity (invalid type)
Daniel Salzman [Fri, 23 May 2025 14:50:29 +0000 (16:50 +0200)]
distro: adapt authoritative-server test for kzonecheck to autodetection
Daniel Salzman [Fri, 23 May 2025 11:31:50 +0000 (13:31 +0200)]
python3-libknot: improve README example
Daniel Salzman [Fri, 23 May 2025 11:30:13 +0000 (13:30 +0200)]
knot-exporter: remove return within a finally block
fixes #957
Daniel Salzman [Thu, 22 May 2025 16:17:50 +0000 (18:17 +0200)]
CI: add fedora-42 and alma-10
Daniel Salzman [Thu, 22 May 2025 11:15:55 +0000 (13:15 +0200)]
Merge branch 'tests_fix_startup' into 'master'
fix tests-extra server startup routines
See merge request knot/knot-dns!1774
Daniel Salzman [Thu, 22 May 2025 06:57:57 +0000 (08:57 +0200)]
Merge branch 'notify-delay' into 'master'
Notify delay
See merge request knot/knot-dns!1776
Jan Doskočil [Wed, 21 May 2025 12:58:42 +0000 (14:58 +0200)]
conf: implement notify-delay option
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
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
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.
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.
Daniel Salzman [Wed, 21 May 2025 12:14:33 +0000 (14:14 +0200)]
Merge branch 'slavesign_serial_indep' into 'master'
xfr/slave-sign: independent SOA serial series on slave-side
See merge request knot/knot-dns!1775
Libor Peltan [Wed, 21 May 2025 10:27:22 +0000 (12:27 +0200)]
xfr/slave-sign: independent SOA serial series on slave-side
Libor Peltan [Tue, 20 May 2025 12:17:49 +0000 (14:17 +0200)]
Merge branch 'catalog_check' into 'master'
Check if member zone configured with non-generated catalog
See merge request knot/knot-dns!1771
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
Daniel Salzman [Mon, 14 Apr 2025 06:06:30 +0000 (08:06 +0200)]
libzscanner: use _public_ from libknot/attribute.h
Daniel Salzman [Sat, 8 Mar 2025 19:40:34 +0000 (20:40 +0100)]
libknot: extend TLS API to be used for non-DNS communication
Daniel Salzman [Tue, 13 May 2025 07:37:29 +0000 (09:37 +0200)]
catalog: check if member zone configured with non-generated catalog
Daniel Salzman [Mon, 12 May 2025 17:15:25 +0000 (19:15 +0200)]
Fix zs_init() callings with empty origin which newly enables autodetection
Libor Peltan [Mon, 12 May 2025 15:12:42 +0000 (17:12 +0200)]
Merge branch 'kzonecheck_soa' into 'master'
kzonecheck: use SOA owner from zone file as origin if not specified
See merge request knot/knot-dns!1770
Daniel Salzman [Wed, 7 May 2025 14:50:24 +0000 (16:50 +0200)]
kzonecheck: use SOA owner from zone file as origin if not specified
Libor Peltan [Mon, 12 May 2025 14:31:06 +0000 (16:31 +0200)]
Merge branch 'module_reload_solid' into 'master'
Allow zone-reload/reload to fail due to module configuration errors
See merge request knot/knot-dns!1769
Daniel Salzman [Mon, 28 Apr 2025 12:30:03 +0000 (14:30 +0200)]
modules: allow zone-reload/reload to fail due to module configuration errors
Based on https://github.com/CZ-NIC/knot/pull/34
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.
Daniel Salzman [Tue, 6 May 2025 13:44:34 +0000 (15:44 +0200)]
Merge branch 'log_eagain_reverse' into 'master'
Log eagain reverse
See merge request knot/knot-dns!1768
Libor Peltan [Tue, 6 May 2025 12:10:24 +0000 (14:10 +0200)]
doc: zone/reverse: some more description
Libor Peltan [Tue, 6 May 2025 11:32:11 +0000 (13:32 +0200)]
libknot/errors: refactoring -- reordering error codes
Libor Peltan [Tue, 6 May 2025 11:19:16 +0000 (13:19 +0200)]
refactoring/errors: two more specific codes instead of most KNOT_EAGAIN
Libor Peltan [Tue, 6 May 2025 11:09:25 +0000 (13:09 +0200)]
errors: less misleading message
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
Libor Peltan [Tue, 6 May 2025 12:17:08 +0000 (14:17 +0200)]
Merge branch 'tls_compat_epel8' into 'master'
Improve TLS compatibility
See merge request knot/knot-dns!1767
Daniel Salzman [Tue, 6 May 2025 10:32:26 +0000 (12:32 +0200)]
kdig: print warning if TLS 1.2 is used
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.
Jan Hák [Fri, 2 May 2025 11:01:50 +0000 (13:01 +0200)]
kzonecheck: support specified job count
Jan Hák [Mon, 5 May 2025 08:55:21 +0000 (10:55 +0200)]
sem-checks: add new DNSSEC algorithms 5 and 6 - RFC-9558, RFC-9563
Libor Peltan [Wed, 30 Apr 2025 11:34:07 +0000 (13:34 +0200)]
semantic-check: allow missing glue if NS is at other delegation...
...not only below
Daniel Salzman [Sat, 26 Apr 2025 19:27:04 +0000 (21:27 +0200)]
knot_exporter: add maximum libknot dependency version to ensure library consistency
fixes #956
Daniel Salzman [Mon, 28 Apr 2025 06:58:24 +0000 (08:58 +0200)]
Merge branch 'xfr_lock_nonrcu' into 'master'
nameserver/XFRout: multi-msg locked by rwlock instead RCU...
See merge request knot/knot-dns!1765
Libor Peltan [Tue, 15 Apr 2025 08:53:40 +0000 (10:53 +0200)]
nameserver/XFRout: multi-msg locked by rwlock instead RCU...
...prevents locking updates to unrelated zones as well
Daniel Salzman [Mon, 28 Apr 2025 06:47:17 +0000 (08:47 +0200)]
Dockerfile: use some t64 libraries to build on armhf
Daniel Salzman [Mon, 28 Apr 2025 05:48:20 +0000 (07:48 +0200)]
Dockerfile: switch to Debian Trixie