Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

Robert Edmonds edmonds at mycre.ws
Wed Mar 23 15:57:58 UTC 2016


Anand Buddhdev wrote:
> Knot DNS, for example, has a compile-time option to link against systemd
> libraries. Then, when Knot starts, it loads all its zones in, does
> whatever else it needs to do, and then sends a notification via dbus.
> 
> If anyone cares about this, they could open a feature request to add
> Systemd dbus notification support to BIND. Good luck with it :)

Knot actually supports Type=notify (not Type=dbus), which is a lot
simpler.

https://www.freedesktop.org/software/systemd/man/sd_notify.html

Basically, if libsystemd is available, call 'sd_notify(0, "READY=1");'
once the daemon is ready to accept requests.

-- 
Robert Edmonds


More information about the bind-users mailing list