unbound
unbound copied to clipboard
Extended DNS Errors a la RFC8914
Still TODO:
- [x] Answer EDE code 4 Forged for local-data answers
- [x] Fix unit tests
- [x] Configure option(s?) whether or not local-zone should result in EDE code inclusion
- [x] Write subroutine to parse packets which are REFUSED caused by an ACL to either return REFUSED with or without EDE 18
- [x] figure out how to do ACL PROHIBITED reply FORMERROR
- [x] Document how the
log-val-level:
config options influences the returned EDE option text - [x] add logic for per zone EDE for RPZ and configurable rpz-do-ede
- [x] add remote-control support for the added configuration options
- [ ] configurable stale answer
For future iterations, we would like to have cached EDEs and add DNSSEC indeterminate with a configuration option,
Not sure if I forgot to submit my previous comment a couple of weeks ago, or if it got overridden as the diff took shape.
TL;DR I am looking forward this making in into the main branch and was wondering if EDE stale answer (code 3) was going to be supported from the get go as the current diff has it commented out. Thanks @TCY16 for tackling this!
Hi @chantra, please don't let the commented-out code dishearten you, this is very much WIP 😄 Although I can't guarantee that EDE stale answer will be in the eventual release, we'll definitively look at this particular piece of code again!