Andreas Schwarz
2018-Jun-08 13:34 UTC
[nsd-users] delete multiple zones in version 4 and 3
Hi Jochen, depends a little on your configuration, but: how about 'nsd-control' and the 'delzone' or 'delzones' command? See: https://www.systutorials.com/docs/linux/man/8-nsd-control/ The command should remove the domain(s) from the zonelist, if you have them separated from your nsd.conf. Only the actual zone files have to be remove separately. On 08.06.2018 14:08, Jochen Demmer wrote:> Hi list > > We run version 4.1.20 (master on CentOS 7) and 3.2.16 (slave on Debian > 7) . I know, we should urgently update our slave :-) > We would like to remove multiple zones (several hundert) and I was > wondering what best practice is since it would mean lots of manual work > and a great potential of error to do it manually. > > Is there a best practice or maybe even a script of some kind? > > Thank you >-- Best Regards Andreas Schwarz -------------- next part -------------- A non-text attachment was scrubbed... Name: 0x2B5342B5C7C77C8E.asc Type: application/pgp-keys Size: 5468 bytes Desc: not available URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20180608/5b5819b6/attachment.bin>
Hi Andreas, in nsd.conf we defined the zones. delzone does not remove those zone definitions from nsd.conf. I have to do it manually it says. On the other hand nsd-control isn't available at nsd 3.x, right? Jochen On 08/06/18 15:34, Andreas Schwarz wrote:> Hi Jochen, > > depends a little on your configuration, but: how about 'nsd-control' and > the 'delzone' or 'delzones' command? > > See: > https://www.systutorials.com/docs/linux/man/8-nsd-control/ > > The command should remove the domain(s) from the zonelist, if you have > them separated from your nsd.conf. > > Only the actual zone files have to be remove separately. > > On 08.06.2018 14:08, Jochen Demmer wrote: >> Hi list >> >> We run version 4.1.20 (master on CentOS 7) and 3.2.16 (slave on Debian >> 7) . I know, we should urgently update our slave :-) >> We would like to remove multiple zones (several hundert) and I was >> wondering what best practice is since it would mean lots of manual work >> and a great potential of error to do it manually. >> >> Is there a best practice or maybe even a script of some kind? >> >> Thank you >> > > > _______________________________________________ > nsd-users mailing list > nsd-users at NLnetLabs.nl > https://open.nlnetlabs.nl/mailman/listinfo/nsd-users-- Jochen Demmer System- und Netzwerkspezialist RelAix Networks GmbH Kackertstra?e 10 52072 Aachen Tel.: 0241 / 990001-206 Fax: 0241 / 990001-149 E-Mail: jdemmer at relaix.net Internet: http://www.relaix.net/ Gesch?ftsf?hrer: Thomas Neugebauer Amtsgericht Aachen, HRB 15108 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20180608/2d2261d9/attachment.htm>