Skip to content
Snippets Groups Projects
  1. Nov 13, 2015
  2. Nov 12, 2015
  3. Nov 05, 2015
  4. Nov 03, 2015
  5. Oct 29, 2015
  6. Oct 28, 2015
  7. Oct 27, 2015
  8. Oct 26, 2015
  9. Oct 24, 2015
  10. Oct 23, 2015
    • Marek Vavruša's avatar
      lib/resolve: minim=off when there is NODATA between cached target/cut · 348096a6
      Marek Vavruša authored
      when resolver finds a zone cut from cache, it checks whether there is an empty non-terminal between target QNAME and cached zone cut.
      this is indicated by presence of NODATA/NXDOMAIN in packet cache.
      if it finds one, it turns off qname minimisation and continues,
      this saves one query for empty non-term zones like ‘co.jp’
      
      caveat: only direct child of the cut can be considered (e.g. ‘co.jp’ for ‘jp’), otherwise we would leak information to parent if the zone cut fell out of cache and NODATA existed
      348096a6
Loading