NLnetLabs / nsd

The NLnet Labs Name Server Daemon (NSD) is an authoritative, RFC compliant DNS nameserver.
https://nlnetlabs.nl/nsd
BSD 3-Clause "New" or "Revised" License
444 stars 101 forks source link

Remove patterns and nsd-control reconfig/repattern #312

Open wtoorop opened 7 months ago

wtoorop commented 7 months ago

If patterns are used in zones from the zone.list and those patterns are removed from the config and a nsd-control reconfig or repattern is done, a dangling reference remains with the zones that were added with those patterns.

wtoorop commented 7 months ago

It is fine if patterns are removed that do not have zones on zone.list though. Similarly it is fine for a catalog-producer-zone: option to be removed or changed if there are no member zones configured with that pattern.