Named Service

Jordan Tinsley jtinsley at lrecok.coop
Tue Jan 22 17:41:57 UTC 2019


Okay, if that doesn’t work, then temporarily until I can get the service figured out I will just do - adding "/usr/local/sbin/named" to

/etc/rc.local

 

From: Peter DeVries <pdevries at quotient-inc.com> 
Sent: Tuesday, January 22, 2019 11:38 AM
To: Jordan Tinsley <jtinsley at lrecok.coop>
Cc: bind-users <bind-users at lists.isc.org>
Subject: Re: Named Service

 

You should want the -chroot portion so you are running named in a chroot environment but you don't need it.  There are two files named.service and named-chroot.service.  There is also rndc-startup.service (maybe the wrong filename) that helps configure rndc if it isn't already.  I typically remove that and opt for my own manual rndc config.

 

Peter

 

On Tue, Jan 22, 2019 at 12:35 PM Jordan Tinsley <jtinsley at lrecok.coop <mailto:jtinsley at lrecok.coop> > wrote:

Thank you for the information!  Also, do I need to use the {-chroot} portion?

 

Thanks,

Jordan

 

From: Peter DeVries <pdevries at quotient-inc.com <mailto:pdevries at quotient-inc.com> > 
Sent: Tuesday, January 22, 2019 11:32 AM
To: Jordan Tinsley <jtinsley at lrecok.coop <mailto:jtinsley at lrecok.coop> >
Cc: bind-users <bind-users at lists.isc.org <mailto:bind-users at lists.isc.org> >
Subject: Re: Named Service

 

You didn't mention your OS.  I'm assuming Redhat Linux.   The files you are looking for are /usr/lib/systemd/system/named{-chroot}.service.  The files are not included in the BIND source.  The easiest thing is to pull them out of one of the existing redhat BIND packages and edit for your needs.  There is nothing in the script that is version specific.

 

 

On Tue, Jan 22, 2019 at 10:13 AM Jordan Tinsley <jtinsley at lrecok.coop <mailto:jtinsley at lrecok.coop> > wrote:

Hello,

 

Just wondering how to get the named service setup when compiling from source?

 

When I tried on a test machine to enable named for startup using systemctl enable named or systemctl start named

 

I get an error that named.service doesn’t exist.  I may be overlooking documentation somewhere, but I don’t see anything about this.

 

Thanks,

Jordan

_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list

bind-users mailing list
bind-users at lists.isc.org <mailto:bind-users at lists.isc.org> 
https://lists.isc.org/mailman/listinfo/bind-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20190122/d8999cb0/attachment.html>


More information about the bind-users mailing list