Re: SRV Request to DNS

2015-09-29 Thread Ray Bellis
On 29/09/2015 07:37, Harshith Mulky wrote: > Hi all, > > I had a query > > Let us say we are having a FQDN and we need to Resolve it. It goes > through the procedure of determining the IP and Port using NAPTR/SRV/A > query mechanisms > > The question I have is if I have a FQDN with a Port Number

init script

2015-09-29 Thread Leandro
Hy guys, about init script to control de bind daemon; After successfully build bind 9.10, Im doing: "bind -c /etc/named.conf -u bind" to start the service. and "killalll bind" to stop it. Now I would like to set an init script so I can set it to start on boot and use the "service named start/stop

Re: init script

2015-09-29 Thread Omer Faruk SEN
Use rpm or deb packages that have perfect init scripts in it Sent via mobile device, excuse typos. 29 Eyl 2015 tarihinde 16:07 saatinde, Leandro şunları yazdı: > Hy guys, about init script to control de bind daemon; > After successfully build bind 9.10, Im doing: > "bind -c /etc/named.conf -u

RE: init script

2015-09-29 Thread Lightner, Jeff
Which Linux or UNIX distribution and version are you using? As Omer suggests most of them include a bind package with prebuilt init scripts - you can download the BIND package then extract the init scripts from it. (deb is for Debian derived Linux distros, rpm for Redhat derived distros - mig

Fwd: problem using setuid ("-u" option) with BIND 9.10.3 on RedHat when listening on tun/tap interface

2015-09-29 Thread Gordon Lang
-- Forwarded message -- From: Gordon Lang Date: Tue, Sep 29, 2015 at 5:29 PM Subject: Re: problem using setuid ("-u" option) with BIND 9.10.3 on RedHat when listening on tun/tap interface To: Carl Byington --disable-threads fixes the problem. But now the question is whether or

Re: Fwd: problem using setuid ("-u" option) with BIND 9.10.3 on RedHat when listening on tun/tap interface

2015-09-29 Thread Alan Clegg
On 9/29/15 5:29 PM, Gordon Lang wrote: > But now the question is whether or not there is a way to make things > work without disabling threads? Does anyone have insight into why > supporting threads might interfere with the normal SUID bit based change > of the effective user id? Did you see the

Re: Fwd: problem using setuid ("-u" option) with BIND 9.10.3 on RedHat when listening on tun/tap interface

2015-09-29 Thread Gordon Lang
After reading Mark's post (found in my spam folder), I gather suid cannot be used with threads on Linux. So I have to choose between setting up a suid root wrapper, or simply not using threads. So my final question is whether or not using threads on Linux is sufficiently beneficial in spite of it

Re: Fwd: problem using setuid ("-u" option) with BIND 9.10.3 on RedHat when listening on tun/tap interface

2015-09-29 Thread Evan Hunt
On Tue, Sep 29, 2015 at 08:14:18PM -0400, Gordon Lang wrote: > After reading Mark's post (found in my spam folder), I gather suid cannot > be used with threads on Linux. So I have to choose between setting up a > suid root wrapper, or simply not using threads. So my final question is > whether or

Re: Fwd: problem using setuid ("-u" option) with BIND 9.10.3 on RedHat when listening on tun/tap interface

2015-09-29 Thread Mark Andrews
If you really have to insist on running suid which is NEVER a good idea unless the program has been designed to run suid the try the following. This is untested beyond compiling. Mark diff --git a/bin/named/main.c b/bin/named/main.c index bdbbf92..8f946f3 100644 --- a/bin/named/main.c +++ b/bin