Skip to content
  • Michał Kępień's avatar
    Do not reuse zones whose "mirror" setting was changed · dbfd19c6
    Michał Kępień authored and Evan Hunt's avatar Evan Hunt committed
    Update named_zone_reusable() so that it does not consider a zone to be
    eligible for reuse if its old value of the "mirror" option differs from
    the new one.  This causes "rndc reconfig" to create a new zone structure
    whenever the value of the "mirror" option is changed, which ensures that
    the previous zone database is not reused and that flags are properly set
    in responses sourced from zones whose "mirror" setting was changed at
    runtime.
    dbfd19c6