resolved: don't forget about lost OPT and RRSIG when downgrading a feature level
authorLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 23:51:26 +0000 (00:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Jan 2016 23:51:26 +0000 (00:51 +0100)
commitcc450722a02ab9c59bca1d9a5b5012f356336a8c
treeaa39418fafed272f9c13e91e8a9383351cd91d9b
parentf009fda92c67ee78672f519a62ce675170cdae4c
resolved: don't forget about lost OPT and RRSIG when downgrading a feature level

Certain Belkin routers appear to implement a broken DNS cache for A RRs and some others, but implement a pass-thru for
AAAA RRs. This has the effect that we quickly recognize the broken logic of the router when we do an A lookup, but for
AAAA everything works fine until we actually try to validate the request. Given that the validation will necessarily
fail ultimately let's make sure we remember even when downgrading a feature level that OPT or RRSIG was missing.
src/resolve/resolved-dns-server.c