diff options
author | Tom Gundersen <teg@jklm.no> | 2015-12-03 21:40:06 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-12-10 17:06:26 +0100 |
commit | d7ce6c9464a6b7a50860189b159e72a396e88f93 (patch) | |
tree | d4242fa395dc87956724090c49781107d9a6444a /test/sched_rr_ok.service | |
parent | c3cb6dc20be2bc2b7ee8b9384c6452dc6030fc29 (diff) |
resolved: cache - rework which RR types we apply redirection to
The logic of dns_cache_get() is now:
- look up the precise key;
- look up NXDOMAIN item;
- if an RR type that may be redirected
(i.e., not CNAME, DNAME, RRSIG, NSEC, NSEC3, SIG, KEY, or
NXT) look up a correpsonding CNAME or DNAME record;
- look up a corresponding NSEC record;
Before this change we would give up before potentially finding
negative cache entries for DNAME, CNAME and NSEC records, we
would return NSEC records for aliases where we had DNAME or CNAME
records available and we would incorrectly try to redirect DNSSEC RRs.
Diffstat (limited to 'test/sched_rr_ok.service')
0 files changed, 0 insertions, 0 deletions