Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-24 Thread Sean Son
Thank you for the replies everyone. Are there any major differences between the BIND package that Red Hat/CentOS provides vs the BIND package provided by the ISC website? Thanks On Thu, Mar 24, 2016 at 8:19 AM, Tony Finch wrote: > Mark Andrews wrote: > > > >

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Mark Andrews
In message , Tony Finch writes: > Reindl Harald wrote: > > > > > The problem that I alluded to above is that if you have services that > > > depend on the DNS, there should be a mechanism for the DNS server to

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Robert Edmonds
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

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Anand Buddhdev
On 23/03/16 14:51, Tony Finch wrote: >> With systemd the methodology isn't that BIND notifies other things that >> it is up. It is that other things, if dependent upon BIND, have in >> their systemd files a requirement that BIND be up before they start. > > Yes, but how does systemd know when

RE: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Lightner, Jeff
- From: Tony Finch [mailto:fa...@hermes.cam.ac.uk] On Behalf Of Tony Finch Sent: Wednesday, March 23, 2016 9:52 AM To: Lightner, Jeff Cc: bind-users@lists.isc.org Subject: RE: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro Lightner, Jeff <jlight...@dsservices.com> wrote: > >

RE: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Tony Finch
Lightner, Jeff wrote: > > With systemd the methodology isn't that BIND notifies other things that > it is up. It is that other things, if dependent upon BIND, have in > their systemd files a requirement that BIND be up before they start. Yes, but how does systemd know

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Tony Finch
Reindl Harald wrote: > Am 23.03.2016 um 13:36 schrieb Tony Finch: > > > > BIND does not do that - it forks too early. It's a bit tiresome > > than this is a bug in BIND which should be fixed instead worked around - Yes. > the whol epurpose of double-forking is to signal

RE: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Lightner, Jeff
9.10.3-p4 on a SystemD Distro Reindl Harald <h.rei...@thelounge.net> wrote: > > > The problem that I alluded to above is that if you have services > > that depend on the DNS, there should be a mechanism for the DNS > > server to say when it is ready and that it's OK to st

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Tony Finch
Reindl Harald wrote: > > > The problem that I alluded to above is that if you have services that > > depend on the DNS, there should be a mechanism for the DNS server to say > > when it is ready and that it's OK to start services that need DNS. I don't > > know the right

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Tony Finch
Reindl Harald wrote: > Am 23.03.2016 um 11:54 schrieb Tony Finch: > > > > There's a sample unit file in the chroot setup instructions at > > https://wiki.debian.org/Bind9 > > > > (It looks a bit half-baked to me since it doesn't seem to have any way to > > signal systemd

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-23 Thread Tony Finch
Sean Son wrote: > > I recently compiled and installed BIND 9.10.3-p4 from source on a system > running CentOS 7. This is for practice purposes. Ive been searching all of > the net and I cannot find the answer to this one question of mine: How do I > create the

Re: Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-22 Thread negativeindex
This is not specifically a bind question but rather a centos/red hat question, but I think the below will get you on the right track: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/sect-Managing_Services_with_systemd-Unit_Files.html On

Regarding compiling BIND 9.10.3-p4 on a SystemD Distro

2016-03-22 Thread Sean Son
Hello all I recently compiled and installed BIND 9.10.3-p4 from source on a system running CentOS 7. This is for practice purposes. Ive been searching all of the net and I cannot find the answer to this one question of mine: How do I create the systemd service unit configuration file for the