knot-dns/tests-extra/tests/modules
Bron Gondwana 2946fe16f2 mod-alias: synthesise ALIAS records from locally-served targets
Add the `mod-alias` query module which synthesises answers for ALIAS
records (type 65401) at query time by looking up the ALIAS target in
the server's zone database and copying the target's records into the
response with the original query name as the owner.

The module hooks at KNOTD_STAGE_PREANSWER and is attached at zone
scope (typically via a template).  Behaviour:

  * Fires for A/AAAA queries, any others passed through to the
    standard resolver.
  * ALIAS is additive: direct rrsets on the alias node are merged
    with the synthesised target rrsets.
  * Multiple ALIAS rdata on a node are followed and their results
    merged.
  * TTL = min(alias_ttl, all contributing source TTLs).
  * Targets not served by a zone in this server are ignored;
    external resolution is out of scope.
  * Synthesised records are not signed; pair with mod-onlinesign
    if signed answers are required.

The integration test runs in two random modes per invocation
(plain and DNSSEC-via-mod-onlinesign) so both code paths are
exercised over time.

Co-authored-by: Daniel Salzman <daniel.salzman@nic.cz>
2026-05-10 23:36:27 -04:00
..
alias mod-alias: synthesise ALIAS records from locally-served targets 2026-05-10 23:36:27 -04:00
authsignal tests: enhance module authsignal test 2024-02-15 09:47:59 +01:00
cookies tests-extra: remove superfluous C-style semicolons from Python code 2024-12-26 01:13:42 +01:00
dnserr knotd: add module for EDNS error reporting, RFC 9567 2026-03-31 17:32:16 +02:00
dnsproxy tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
dnstap tests-extra: improve test for dnstap and extend it with quic 2023-05-26 11:05:56 +02:00
geoip implemented multi-socket CTL... 2025-04-14 18:07:52 +02:00
noudp tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
onlinesign tests: support for calling kdig and its validation 2026-04-16 12:20:09 +02:00
onlinesign_rollovers tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
probe tests-extra: use XDP when possible, including TCP ... 2023-11-07 16:59:42 +01:00
queryacl tests-extra: fix module/queryacl + add support for more listen addresses 2019-08-26 13:59:47 +02:00
rrl tests-extra: enable logging in module/rrl 2024-08-11 21:19:40 +02:00
stats tests-extra: remove superfluous C-style semicolons from Python code 2024-12-26 01:13:42 +01:00
synthrecord mod-synthrecords: add simple support for reverse CIDR records 2022-12-10 15:52:12 +01:00
whoami tests-extra: merge whoami and whoami6 module tests 2016-08-19 16:16:10 +02:00