OpenSuSE: the relation between /etc/var/named.d and /var/lib/named
Posted by jpluimers on 2019/10/24
For first time BIND named users on OpenSuSE there is often confusion on the relation between these directories:
/etc/named.d/
/var/lib/named/
For example here someone else struggled: [WayBack] Re: Fwd: Re: [opensuse] Split DNS? Solved
This is how I inferred the workings:
The /etc/named.conf.include
is re-generated at named
start by running /usr/share/bind/createNamedConfInclude
by including files that both match NAMED_CONF_INCLUDE_FILES
in /etc/sysconfig/named
and exist in the /etc/named.d/
directory.
At named
startup, it also copies everything from /etc/named.d
to /var/lib/named/etc/named.d
For details see
- https://build.opensuse.org/package/view_file/openSUSE:Factory/bind/bind.spec
- https://build.opensuse.org/package/show/network/bind file called vendor-files.tar.bz2 – look for file
vendor-files.tar.bz2
- https://books.google.com/books?id=GB_O89fnz_sC&pg=PA481&dq=”rndc-access.conf”
- http://www.filewatcher.com/p/bind-9.8.1-4.2.2.x86_64.rpm.303209/usr/share/bind/createNamedConfInclude.html
–jeroen
Leave a Reply