[Opendnssec-user] Re: NotifyCommand Never Called Issue

Stephane Bortzmeyer bortzmeyer at nic.fr
Fri Feb 1 08:18:29 UTC 2013


On Fri, Feb 01, 2013 at 01:37:01AM -0500,
 Paul Wouters <paul at nohats.ca> wrote 
 a message of 27 lines which said:

> <NotifyCommand>sudo /sbin/service nsd restart</NotifyCommand>

I used a small setuid wrapper around nsd.

<NotifyCommand>/usr/local/sbin/opendnssec-nsd-reload</NotifyCommand>

And opendnssec-nsd-reload's source is
<http://www.bortzmeyer.org/files/opendnssec-nsd-reload.c> To compile
and install it:

install: opendnssec-nsd-reload
        $(INSTALL) opendnssec-nsd-reload $(DEST)
        $(CHGRP) opendnssec $(DEST)/opendnssec-nsd-reload
        $(CHMOD) o=,g=x,u=rwxs $(DEST)/opendnssec-nsd-reload

Longer documentation (but in French) at
<http://www.bortzmeyer.org/opendnssec-nsd.html>



More information about the Opendnssec-user mailing list