[Samba] How to switch from internal DNS to Bind

Reindl Harald h.reindl at thelounge.net
Thu Dec 31 14:55:12 UTC 2015

Am 31.12.2015 um 15:43 schrieb James:
> On 12/30/2015 4:14 PM, Rowland penny wrote:
>> ./configure --prefix=/usr --mandir=/usr/share/man
>> --infodir=/usr/share/info --sysconfdir=/etc/bind --localstatedir=/var
>> --enable-threads --enable-largefile --with-libtool --enable-shared
>> --enable-static --with-openssl=/usr --with-gssapi=/usr
>> --with-dlopen=yes --with-gnu-ld --enable-ipv6
>> CFLAGS='-fno-strict-aliasing -DDIG_SIGCHASE -O2'
>> LDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro'
> I seem to have a few errors in my syslog.
> Dec 31 09:35:17 VMDC1 named[24025]: couldn't mkdir '/var/run/named':
> Permission denied
> I compiled using 9.9.8-P2 and your suggested configure options. I see
> /run is owned by root:root. Should I give group 'named' permission to
> this folder? It's not documented in the wiki as needed

nobody but root has a business directly on /run
you should create the subfolder as any bind-package does

on modern systems /run is a tmpfs and hence empty at boot
so it's "tmpfiles" job to re-create them at boot

that config is typically part of the bind package

[root at srv-rhsoft:~]$ cat /usr/lib/tmpfiles.d/named.conf
d /run/named 0755 named named -

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20151231/3638c0a6/signature.sig>

More information about the samba mailing list