mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-09-28 20:54:53 +02:00
* Allow synthesized DNAME TTL=0 to be served from cache within grace period Addresses doc/TODO: cache TTL=0 packets properly for synthesis. - rrset_cache_lookup: allow TTL=0 DNAME within 1s grace for synthesis - synth_dname_msg: support PACKED_RRSET_UPSTREAM_0TTL, return TTL=0 to client Reduces recursion when authoritative servers return DNAME with TTL=0 (RFC 2308). Client response still correctly returns TTL=0. Note: Test with proper TTL=0 DNSSEC RRSIGs omitted - requires ldns-signzone to generate valid signatures for TTL=0 RRsets. * Add iter_dname_ttl0.rpl replay test for DNAME TTL=0 Tests signed DNAME with TTL=0 and RRSIG Original TTL=0 (RFC 4034). Verifies end-to-end handling of TTL=0 DNAME responses.