knot-dns/tests-extra/tests
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
..
axfr tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
basic DELEG: conf knob to enforce/override DELEG-awareness... 2026-05-06 12:14:06 +02:00
catalog tests-extra: add zone reload checks to catalog/generate_reconf 2026-02-24 12:53:04 +01:00
chaos conf: enable identity/version/nsid by default 2015-04-14 19:04:17 +02:00
config knotd: remove TCP Fast Open support 2025-12-16 14:36:18 +01:00
ctl ctl: avoid unrecoverable situation after semcheck error from conf-commit 2026-02-03 17:26:41 +01:00
ddns libknot/descriptor: add minimum rdata sizes where appropriate 2026-03-30 16:46:02 +02:00
dnssec zonefile-load + ctl/zone-set: canonicalize only generic... 2026-03-30 16:06:55 +02:00
edns tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
events tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
ixfr tests-extra: ixfr/master_pin2 -- align the servers at the start 2025-10-31 10:57:27 +01:00
journal tests: refactor server configuration routines 2025-10-29 09:22:50 +01:00
modules mod-alias: synthesise ALIAS records from locally-served targets 2026-05-10 23:36:27 -04:00
notify zone/events: dont send NOTIFY before server starts answering 2026-01-05 10:48:35 +01:00
quic tests-extra: make QUIC detection more universal 2026-04-30 09:57:00 +02:00
records libknot: support for DELEG+DELEGPARAM rrtypes, SIDE-EFFECT: 2026-05-06 12:14:06 +02:00
redis scripts: add script to resolve ALIASes in Redis backed zone 2026-03-06 14:30:04 +01:00
security/dnsheader tests-extra: remove security/protos as the binaries no longer work on Ubuntu 22.04 and are unavailable 2022-04-20 10:31:57 +02:00
stats/basic statistics: fix YAML indentation if more modules provide counters 2023-09-04 09:34:16 +02:00
tls tests-extra: make QUIC detection more universal 2026-04-30 09:57:00 +02:00
tsig/ddns tests-extra: extend TSIG DDNS tests with uppercase 2014-08-18 13:33:50 +02:00
zone zone/load/difference-no-serial: enforce serial policy already upon initial zonefile load 2026-03-27 14:58:25 +01:00