summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-dnssec.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-02 23:59:19 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-03 00:26:58 +0100
commit37da893166f39b5fb39b460baa41398847ff2c63 (patch)
tree3b8f202cdcae489cb5291953077ecf5d6260a7b1 /src/resolve/resolved-dns-dnssec.c
parent8730bccfc59fe507bd3e0a3abcf411b497ac4f0e (diff)
resolved: synthesize NODATA cache results when we find matching NSEC RRs
If we have a precisely matching NSEC RR for a name, we can use its type bit field to synthesize NODATA cache lookup results for all types not mentioned in there. This is useful for mDNS where NSEC RRs are used to indicate missing RRs for a specific type, but is beneficial in other cases too. To test this, consider these two lines: systemd-resolve-host -t NSEC nasa.gov systemd-resolve-host -t SRV nasa.gov The second line will not result in traffic as the first line already cached the NSEC field.
Diffstat (limited to 'src/resolve/resolved-dns-dnssec.c')
0 files changed, 0 insertions, 0 deletions