Skip to content
Snippets Groups Projects
  1. Jul 23, 2015
  2. Jul 22, 2015
  3. Jul 21, 2015
  4. Jul 15, 2015
  5. Jul 13, 2015
  6. Jul 10, 2015
  7. Jul 09, 2015
  8. Jun 30, 2015
    • 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