Skip to content
Snippets Groups Projects
  1. Jul 23, 2015
  2. Jul 22, 2015
  3. Jul 21, 2015
  4. Jul 20, 2015
  5. Jul 16, 2015
  6. Jul 15, 2015
  7. Jul 14, 2015
  8. Jul 13, 2015
  9. Jul 10, 2015
  10. Jul 09, 2015
  11. Jul 08, 2015
  12. Jul 06, 2015
  13. Jul 05, 2015
  14. Jul 04, 2015
  15. Jul 02, 2015
  16. Jun 30, 2015
    • Marek Vavruša's avatar
    • Marek Vavruša's avatar
      lib/validate: pseudocode of the validation flow · da79dc09
      Marek Vavruša authored
      1. validate module must be between iterate/cache
      2. produce: copy OPT with DO=1, ask for DNSKEY if we don’t have it
      3. resolve.c: subrequest DNSKEY if asked to do it
      4. consume: check DNSKEY and set it, validate RRSIGs against it
      
      another issues:
      
      rrsigcache is copypasta of rrcache, there is one special case with storing RRSIGs which doesn’t deserve it’s own module (if the validation is off, then nothing will get written in there anyway)
      
      since the resolution is asynchronous, layers must only *ask* resolver to do subrequests for them using query flags (like when we encounter an unknown zone cut)
      da79dc09