]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-rr.c
resolved: use RRSIG expiry and original TTL for cache management
authorLennart Poettering <lennart@poettering.net>
Sun, 27 Dec 2015 23:30:56 +0000 (00:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Dec 2015 13:46:39 +0000 (14:46 +0100)
commitee3d6aff9bd73c1b23e29d1fa1fa6f7a1ef0533b
tree15ac562f0720d647d4c518a9b43949c4157edba4
parentf535705a457f9bee976a45baf20272b7228d0c65
resolved: use RRSIG expiry and original TTL for cache management

When we verified a signature, fix up the RR's TTL to the original TTL
mentioned in the signature, and store the signature expiry information
in the RR, too. Then, use that when adding RRs to the cache.
src/resolve/resolved-dns-cache.c
src/resolve/resolved-dns-dnssec.c
src/resolve/resolved-dns-rr.c
src/resolve/resolved-dns-rr.h