Commit graph

147 commits

Author SHA1 Message Date
Libor Peltan
f884b63c9e tests: added max TTL test with signing and incremental realod 2024-12-19 09:57:08 +01:00
David Vašek
5238477dcb tests-extra: zone/expire -- fix a typo 2024-12-18 09:35:12 +01:00
Libor Peltan
42f3d8522f tests: flush before random_ddns() to ensure clean zonefile format 2024-09-12 15:04:15 +02:00
David Vašek
977851111d tests-extra: zone/backup_lock -- check '+keysonly' backup/restore 2024-09-12 11:40:37 +02:00
Daniel Salzman
14a7ba8ab3 conf: add 'zone.default-ttl` configuration option 2024-07-19 16:53:55 +02:00
Libor Peltan
a2beb2b2ff load: dont skip dnssec+zonemd even when nothing to load 2024-07-05 10:54:01 +02:00
David Vašek
f0db8f99d4 backup: check that the system CPU architecture and the backup data are compatible
Notes about the tests: many tests still relies on 64LE architecture.
This currently applies also to:
   zone/backup_lock
   dnssec/keytag_conflict
   dnssec/no_resign
   modules/geoip.
The 64BE-architecture backup is simulated by a modified 64LE backup in the test zone/backup_lock.
Test of restore of QUIC keys from incompatible architecture should be added to zone/backup_lock too.
2024-06-19 13:20:21 +02:00
David Vašek
1cdc3adf07 tests-extra: zone/backup -- fix the recently added testing 2024-06-14 19:31:27 +02:00
David Vašek
a675f90dff backup: use the force option to overwrite an already existing backupdir 2024-06-14 17:18:30 +02:00
Libor Peltan
8ae5d29037 purge: after purging timers, set them to sensible values 2024-06-12 11:08:03 +02:00
Libor Peltan
5f86a92e93 tests/zonemd_flush: random non/usage of DNSSEC 2024-05-10 22:47:36 +02:00
Jan Doskočil
9d63615cfa
ZONEMD: prevent attempt to sign non-existent ZONEMD 2024-05-10 14:57:28 +02:00
Libor Peltan
0c475eae4a knot: implemented serial-modulo 2023-07-25 17:58:51 +02:00
Libor Peltan
6a8d0a5c34 tests: fix disable_notify option 2023-06-21 21:10:54 +02:00
Libor Peltan
af297b52dd journal/write: check that stored changeset's SOA serails are strictly increasing 2023-05-02 13:58:54 +02:00
Libor Peltan
d2af99f5ae reverse-generate: don't require configuring by user, perform relevant conf automatically 2023-04-26 09:06:19 +02:00
David Vašek
423a5821a3 tests-extra: zone/zonemd_load -- always ensure the time order of backup and purge 2023-02-11 20:11:32 +01:00
David Vašek
9a1de2bed5 tests-extra: zone/zonemd_load -- fix a recent omission 2023-02-07 14:27:38 +01:00
David Vašek
dd1e891fcc tests-extra: zone/zonemd_load -- test for unchanged serial upon zonefile restore 2023-02-07 13:24:28 +01:00
David Vašek
3d0494e198 tests-extra: zone/zonemd_load -- verify the serial on the slave 2023-02-07 13:24:28 +01:00
Daniel Salzman
616563bfba tests-extra: add test for ZONEMD reload/restart preservation 2023-02-01 19:21:08 +01:00
David Vašek
498d8ca29a tests-extra: zone/backup -- fix the setting of the DNSSEC algorithm 2022-10-25 14:53:20 +02:00
Libor Peltan
abe9051455 auto-reverse: optional extended test 2022-10-24 16:46:38 +02:00
Libor Peltan
78936e4d17 knot: implemented auto-generating reverse records 2022-10-24 16:46:38 +02:00
Libor Peltan
b6835cc8cb tests: fix fail with slow semcheck of DNSSEC with valgrind 2022-06-08 19:56:41 +02:00
David Vašek
dbf5032ac1 tests-extra: zone/backup_lock -- provide always enough time for restore under Valgrind 2022-05-02 17:05:23 +02:00
Libor Peltan
46fd73e369 zonedb-reload: when recreating zone, replan also refresh...
...as it might be planned by incomming NOTIFY during zonedb-reload
and in this case its not in timers
2022-04-28 10:02:17 +02:00
Daniel Salzman
5f04f3ddae refresh: bootstrap the zone if SOA query fails in the soft semantic checks mode
This solves the situation when a CNAME is present at the zone apex and SOA query
is responded with the CNAME.
2022-04-12 12:32:45 +02:00
Daniel Salzman
7af38b8e78 conf: change 'semantic-checks' type from boolean to option, add 'soft' mode 2022-04-11 21:58:11 +02:00
Daniel Salzman
ce88340c84 tests-extra: fix early check for flushed zone file 2022-04-07 12:34:58 +02:00
Daniel Salzman
46fa78bcdd tests-extra: update zone/flush_immediate 2022-03-28 21:41:13 +02:00
Libor Peltan
5f20ffc179 tests: harden refresh_limits test on slow env 2022-03-11 13:41:27 +01:00
Libor Peltan
b1f7e2f80f refresh: don't impose limits on expire when EDNS expire takes effect 2022-02-25 17:23:29 +01:00
Libor Peltan
388c577ec9 refresh: configurable min/max for refresh/retry/expire 2022-02-25 16:55:06 +01:00
Daniel Salzman
b1dcb0009a tests-extra: use zone-xfr-freeze/thaw in zone/expire 2022-02-24 17:16:23 +01:00
David Vašek
d94b5788a6 refresh: improve EDNS Expire (RFC 7314, section 4, second paragraph) 2022-02-24 16:44:01 +01:00
Libor Peltan
b1ad1f9506 implemented EDNS Expire RFC7314 2022-02-24 16:44:01 +01:00
Libor Peltan
a8bcce0112 Implemented outgoing XFR freeze/thaw 2022-01-31 12:56:15 +01:00
Josh Soref
43db89b880 spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-11-24 12:55:47 +01:00
Libor Peltan
a743bc8b1a zonemd: option to systematicly remove 2021-11-04 15:51:34 +01:00
Libor Peltan
2ad9d78532 ZONEMD: fixed and refactored handling without DNSSEC 2021-10-21 14:32:37 +02:00
Libor Peltan
3cbcb283e9 kjournalprint: take path to journal from configuration 2021-09-22 16:44:27 +02:00
Libor Peltan
b021320bea zonemd: reflect changes in configuration when reloaded 2021-09-06 10:33:12 +02:00
Libor Peltan
e10a760d53 zonemd: create hash and bump serial when turned on 2021-09-06 08:14:35 +02:00
Libor Peltan
b4a1afdc9c test/backup: check error codes in knot logfiles 2021-07-12 19:39:11 +02:00
David Vašek
87b5580177 backup: return KNOT_ENOTSUP when trying to restore from possible future backup format version
Returning KNOT_ENOTSUP makes more sense than returning KNOT_EMALF in such situations.
2021-07-12 19:39:11 +02:00
David Vašek
ff11681907 tests-extra: zone/backup_multi -- remove the test
The test no longer works, as concurrent backups aren't possible in
Knot any more.
2021-07-12 19:39:11 +02:00
David Vašek
4dc6261de7 tests-extra: zone/backup -- make the test more stable in case of repeated server starts
In case of repated server starts (enforced by occupied IP ports), an AXFR may happen
before the testing actually starts. Lower refresh value allows another AXFR of already
expired zone before the test time outs.
2021-07-12 19:39:11 +02:00
David Vašek
6427b806a1 tests/backup: test (im)possibility of backup/restore in situations 2021-07-12 19:39:11 +02:00
Libor Peltan
fef4440642 zone-in-journal: bugfix: zero SOA serial wrongly triggers loop detection 2021-06-14 11:37:15 +02:00