Commit graph

501 commits

Author SHA1 Message Date
Daniel Salzman
8c59b46adb conf: rework notify-delay to be more practical and consistent with Bind 2025-07-14 07:53:48 +02:00
Libor Peltan
34cb1aef7c dnssec/multi-keystore: implemented ksk-only keystore...
...so that KSKs and ZSKs can be in distinct keystores
2025-07-01 10:51:18 +02:00
Libor Peltan
415f5bf88e dnssec: implemented multi-keystore option...
...useful e.g. for hsm-to-pem migration
2025-07-01 08:42:04 +02:00
Jan Doskočil
261c378b74 conf: implemented certificate hostname validation 2025-06-23 17:55:14 +02:00
Daniel Salzman
9c0e8c43f6 Merge branch 'tests_fix_startup' into 'master'
fix tests-extra server startup routines

See merge request knot/knot-dns!1774
2025-05-22 13:15:55 +02:00
Jan Doskočil
b753ba3ca5 conf: implement notify-delay option 2025-05-22 08:16:44 +02:00
David Vašek
cec7fd4527 tests-extra: allow lower number of server start retries for recoverable start failures 2025-05-21 14:20:58 +02:00
David Vašek
06f46233aa tests-extra: when ports are busy, really allow a retry with a different configuration 2025-05-21 14:20:58 +02:00
David Vašek
140200c489 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.
2025-05-21 14:20:58 +02:00
David Vašek
de158da5bc tests-extra: fix the repeated server startup
A workaround of already fixed flaw doesn't apply anymore.
2025-05-21 14:20:58 +02:00
Libor Peltan
e43440cefc nameserver/XFRout: multi-msg locked by rwlock instead RCU...
...prevents locking updates to unrelated zones as well
2025-04-28 08:47:57 +02:00
Daniel Salzman
26d468f093 tests-extra: fix arguments of ctl_sock_rnd() in zone_wait() 2025-04-15 15:44:01 +02:00
Libor Peltan
6be870f0bf implemented multi-socket CTL...
...with each socket handled by a thread
2025-04-14 18:07:52 +02:00
Libor Peltan
6ccf2243cf auto-reverse zones: implemented support for multiple...
...forward zones to be reversed
2025-04-04 20:41:27 +02:00
Libor Peltan
f8472acb5f implemented zonefile-skip option 2025-03-12 08:43:36 +01:00
Daniel Salzman
0473328611 tests-extra: increase robustness of edns/nsid 2025-02-14 12:39:32 +01:00
David Vašek
1cc5bdba00 tests-extra: remove superfluous C-style semicolons from Python code 2024-12-26 01:13:42 +01:00
David Vašek
e5c7d37d90 tests-extra: fix the all-servers startup method
When all servers are already running, don't start some of them again.
2024-12-25 23:50:53 +01:00
David Vašek
df1a49f4ca tests-extra: fix Knot server starting when it listens on a socket 2024-12-25 23:50:34 +01:00
Jan Hák
1483e4414e mod-cookies: secondary cookie secret 2024-10-26 15:57:22 +02:00
Libor Peltan
e4aa69fe67 tests: add XoT (XFR over TLS) interop with Bind9 2024-10-23 13:42:43 +02:00
David Vašek
75d6162eeb tests-extra: fix generation of random DDNS updates to not exceed dname limit 2024-10-02 13:25:39 +02:00
Daniel Salzman
40e188ab62 tests-extra: add test for ACL configuration 2024-09-27 12:44:40 +02:00
Libor Peltan
65d2b862b3 tests: all DDNS: randomize, unify and fix protocols and knsupdate usage...
...also in interference with XDP
2024-09-04 15:50:32 +02:00
Libor Peltan
4468af58dd ctl: implemented multi-threaded (mutexted) CTL handling 2024-09-01 18:35:17 +02:00
Daniel Salzman
0df70dbdf9 tests-extra: enable logging in module/rrl 2024-08-11 21:19:40 +02:00
Libor Peltan
6648d8a1cd tests/quic/knsupdate: better handling of RCODEs 2024-08-06 18:20:25 +02:00
Libor Peltan
60c906ca78 test/validate_bind: avoid updating NSs as Bind handles delegations wrong...
...see https://gitlab.isc.org/isc-projects/bind9/-/issues/3431
2024-08-06 11:57:56 +02:00
Daniel Salzman
a660e84899 Merge branch 'tests_libknot_exception' into 'master'
Improve error output if libknot not usable in tests-extra

See merge request knot/knot-dns!1695
2024-07-31 17:42:33 +02:00
Libor Peltan
3c52c6f2f3 tests-extra: improve error output if libknot not usable 2024-07-31 17:35:04 +02:00
Jan Hák
bd03e033ea tests-extra: change knsupdate wrapper in tests to respect parameter changes in knsupdate 2024-07-31 10:18:36 +02:00
Libor Peltan
738f794ee6 tests: for Bind9 9.18.28+ configure signatures-jitter 2024-07-25 10:47:22 +02:00
Libor Peltan
ceee35bd2c tests: temporarily disable non-apex DNSKEYs as Bind9 utils dont like them 2024-07-25 09:51:54 +02:00
Jan Hák
94447d17eb tests-extra: add random knsupdate and protocol selection to some DDNS tests 2024-07-15 22:12:04 +02:00
Jan Hák
609f23fd80 tests-extra: add a wrapper for knsupdate 2024-07-15 22:12:04 +02:00
Libor Peltan
27c20d4f19 tests: protect XDP-listening port against...
...being used by other tool as outgoing
2024-07-11 18:30:29 +02:00
Libor Peltan
1492c4a9b4 tests: improved blocking_txn not to fail and test better 2024-07-04 11:21:32 +02:00
Libor Peltan
553cbf6ed0 ctl: disallow parallel zone txn (zone-begin) and..
... either config reload (knotc reload) or
    config txn (conf-begin)
2024-06-03 08:56:23 +02:00
Daniel Salzman
bdc1af0617 tests-extra: synchronize valgrind parameters with tester 2024-05-17 07:59:03 +02:00
Libor Peltan
7fb06f4ae6 tests/ds-push: test empty list in config file 2024-05-16 17:07:21 +02:00
Libor Peltan
ae1289a8d0 implemented keytag-modulo option 2024-05-14 15:44:55 +02:00
Libor Peltan
fdad47e267 implemented DoT for queries and XFR 2024-05-07 07:52:29 +02:00
Daniel Salzman
aa3b43737d tests-extra: adjust NSID data item name 2024-04-30 16:18:54 +02:00
Daniel Salzman
afaa159788 tests-extra: fix float to int exceptions 2024-04-30 16:03:23 +02:00
Daniel Salzman
d5b507126a tests-extra: don't copy keys of generated zone files
- The keys aren't used anyway
- distutils.dir_util.copy_tree is deprecated
- It emits many informational logs
2024-04-30 16:03:23 +02:00
Jan Hák
0d358933fb tests-extra: serialized configuration JSON schema validation 2024-04-09 17:51:18 +02:00
Lukáš Ondráček
1a868b999e rrl: minor fixes 2024-03-25 15:02:55 +01:00
Lukáš Ondráček
23f5172359 rrl: modify limits of prefixes, fix extended tests 2024-03-22 13:54:34 +01:00
Peter Thomassen
93b1ca2bbe
mod-authsignal: implementation, docs, tests
Thanks to Joeri de Ruiter <joeri.deruiter@surf.nl> and Daniel Salzman
for coding support.
2024-01-30 18:21:27 +01:00
Libor Peltan
f54179be27 tests/quic/xfr: added debugging features: tcpdump, secrets.log, quic log 2024-01-12 16:56:59 +01:00