[nsd-users] Feature request: nsd-control

Johan Ihrén johani at netnod.se
Mon Apr 14 11:52:26 UTC 2014

Hi Wouter,

On 08 Apr 2014, at 09:58 , W.C.A. Wijngaards <wouter at nlnetlabs.nl> wrote:

> > a) a "test" operation, to check whether a zone is configured or
> > not, i.e.
> >
> > nsd-control testzone foo.example
> >
> > with some reasonable semantics for return values.
> The 'zonestatus example.com' command may be just what you are looking for.

Indeed... embarrassing, though, especially given that I have slides that use "zonestatus" ;-(

> > b) a "test-and-set" operation. This we sort of already have, in the
> > sense that "addzone" will not add a zone if it is already there
> > (but as you point out, on error we don't know what really
> > happened). So to make it a more useful test-and-set the return
> > values should be sorted out, which is what your patch is about.
> >
> > I'd like (a) to be able to "scan" my slaves to verify that there
> > are no inconsistencies in the configured zones, and if there are,
> > then I want to use (b) to fix them.
> Yes some sort of consistency report is useful.  I have implemented a
> different patch that prints if the zone already exists.  (I did not
> want to modify rbtree_insert).

Many thanks for this.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 313 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.nlnetlabs.nl/pipermail/nsd-users/attachments/20140414/36f0a8aa/attachment.bin>

More information about the nsd-users mailing list