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 <pdevr...@quotient-inc.com> 
Sent: Tuesday, January 22, 2019 11:38 AM
To: Jordan Tinsley <jtins...@lrecok.coop>
Cc: bind-users <bind-users@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 <jtins...@lrecok.coop 
<mailto:jtins...@lrecok.coop> > wrote:

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

 

Thanks,

Jordan

 

From: Peter DeVries <pdevr...@quotient-inc.com 
<mailto:pdevr...@quotient-inc.com> > 
Sent: Tuesday, January 22, 2019 11:32 AM
To: Jordan Tinsley <jtins...@lrecok.coop <mailto:jtins...@lrecok.coop> >
Cc: bind-users <bind-users@lists.isc.org <mailto:bind-users@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 <jtins...@lrecok.coop 
<mailto:jtins...@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@lists.isc.org <mailto:bind-users@lists.isc.org> 
https://lists.isc.org/mailman/listinfo/bind-users

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

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to