How to change a pattern

Hi all,

Now I'm testing NSD4-b4. And I'm stumped about changing a pattern.

The nsd-control command don't have an option such as 'modzone [zone]'.
So, when I want to change a pattern, once I have to delete a zone with
old pattern, then add it with new one?

Or something another way?

Thanks.

Hi Tomoki,

Hi all,

Now I'm testing NSD4-b4. And I'm stumped about changing a pattern.

The nsd-control command don't have an option such as 'modzone
[zone]'. So, when I want to change a pattern, once I have to delete
a zone with old pattern, then add it with new one?

Yes, delzone and addzone is the only way to make a zone have a new
pattern. 'modzone' would probably work as a convenience shorthand for
this, if this was to be added. It would cause slave zones to be
re-transferred, and master zones to be re-read from zone file.

Or something another way?

You could edit the pattern contents in nsd.conf and repattern/reconfig.

Best regards,
   Wouter

Hi Wouter

Thank you for your reply.

If 'modzone' is added, is it wrapper of delzone and addzone?

Thanks.