1. 18 Apr, 2019 2 commits
  2. 22 Aug, 2018 2 commits
    • Michał Kępień's avatar
      Fix reloading inline-signed zones · cf7557dc
      Michał Kępień authored
      While "rndc reload" causes dns_zone_asyncload() to be called for the
      signed version of an inline-signed zone, the subsequent zone_load() call
      causes the raw version to be reloaded from storage.  This means that
      DNS_ZONEFLG_LOADPENDING gets set for the signed version of the zone by
      dns_zone_asyncload() before the reload is attempted, but zone_postload()
      is only called for the raw version and thus DNS_ZONEFLG_LOADPENDING is
      cleared for the raw version, but not for the signed version.  This in
      turn prevents zone maintenance from happening for the signed version of
      the zone.
      
      Until commit 749b3cac, this problem
      remained dormant because DNS_ZONEFLG_LOADPENDING was previously
      immediately, unconditionally cleared after zone loading was started
      (whereas it should only be cleared when zone loading is finished or an
      error occurs).  This behavior caused other issues [1] and thus had to be
      changed.
      
      Fix reloading inline-signed zones by clearing DNS_ZONEFLG_LOADPENDING
      for the signed version of the zone once the raw version reload
      completes.  Take care not to clear it prematurely during initial zone
      load.  Also make sure that DNS_ZONEFLG_LOADPENDING gets cleared when
      zone_postload() encounters an error or returns early, to prevent other
      scenarios from resulting in the same problem.  Add comments aiming to
      help explain code flow.
      
      [1] see RT #47076
      
      (cherry picked from commit 54315839)
      cf7557dc
    • Michał Kępień's avatar
      Set DNS_JOURNALOPT_RESIGN when loading the secure journal for an inline-signed zone · de6b8ded
      Michał Kępień authored
      When an inline-signed zone is loaded, the master file for its signed
      version is loaded and then a rollforward of the journal for the signed
      version of the zone is performed.  If DNS_JOURNALOPT_RESIGN is not set
      during the latter phase, signatures loaded from the journal for the
      signed version of the zone will not be scheduled for refresh.  Fix the
      conditional expression determining which flags should be used for the
      dns_journal_rollforward() call so that DNS_JOURNALOPT_RESIGN is set when
      zone_postload() is called for the signed version of an inline-signed
      zone.
      
      Extend bin/tests/system/stop.pl so that it can use "rndc halt" instead
      of "rndc stop" as the former allows master file flushing upon shutdown
      to be suppressed.
      
      (cherry picked from commit 8db550c4)
      de6b8ded
  3. 25 Apr, 2018 1 commit
    • Michał Kępień's avatar
      Apply raw zone deltas to yet unsigned secure zones · 91183650
      Michał Kępień authored
      When inline signing is enabled for a zone without creating signing keys
      for it, changes subsequently applied to the raw zone will not be
      reflected in the secure zone due to the dns_update_signaturesinc() call
      inside receive_secure_serial() failing.  Given that an inline zone will
      be served (without any signatures) even with no associated signing keys
      being present, keep applying raw zone deltas to the secure zone until
      keys become available in an attempt to follow the principle of least
      astonishment.
      
      (cherry picked from commit 6acf3269)
      (cherry picked from commit 8a58a607)
      91183650
  4. 14 Mar, 2018 1 commit
  5. 10 Mar, 2018 1 commit
    • Evan Hunt's avatar
      final cleanup · 442c1530
      Evan Hunt authored
      - update Kyuafiles to match Atffiles
      - copyrights
      - CHANGES note
      
      (cherry picked from commit 86e00cbb)
      (cherry picked from commit 80834b5b)
      442c1530
  6. 23 Feb, 2018 1 commit
  7. 06 Dec, 2017 1 commit
  8. 03 Dec, 2017 2 commits
  9. 27 Jun, 2016 1 commit
  10. 04 Mar, 2015 2 commits
  11. 04 Dec, 2013 1 commit
  12. 04 Sep, 2013 1 commit
  13. 15 Aug, 2013 1 commit
  14. 10 Jul, 2013 2 commits
  15. 23 Feb, 2012 1 commit
  16. 10 Jan, 2012 2 commits
  17. 22 Dec, 2011 1 commit
  18. 26 Oct, 2011 1 commit
  19. 25 Oct, 2011 1 commit
  20. 30 Aug, 2011 2 commits
  21. 18 Jun, 2007 1 commit
  22. 26 Apr, 2007 2 commits
  23. 05 Mar, 2004 1 commit
  24. 02 Mar, 2004 1 commit
  25. 09 Jan, 2001 1 commit
  26. 01 Dec, 2000 1 commit
  27. 28 Nov, 2000 1 commit
  28. 21 Nov, 2000 1 commit
  29. 10 Nov, 2000 1 commit
  30. 01 Sep, 2000 1 commit
  31. 22 Aug, 2000 1 commit
  32. 17 Aug, 2000 1 commit