Mailinglist Archive: opensuse (389 mails)

< Previous Next >
Re: [opensuse] Why are nsupdate changes not persistent? SOLVED
Hi Per -  Well you hit the nail on the head, many thanks for your help!
Moving the zone files over to /var/lib/named solved the persistence
problem. I guess that wasn't clear to me but now that I think about it,
makes sense since named is running in a chrooted jail and it cannot
follow links out of there. (I actually had to create 3 new "master"
directories, one for each view, but that wasn't a big hurdle..)  This
didn't solve my troubles I am having with LetsEncrypt certificates but
at least I know this persistence issue isn't getting in my way...


On 03/16/2019 01:07 AM, Per Jessen wrote:
Marc Chamberlin wrote:

dig does show that indeed the TXT record was added and I see that the
jnl file - has been created. However neither of the
config files for in /etc/named.d/local/master/
or /var/lib/named/etc/named.d/local/master/ has been
updated yet, as expected...
Ah. No, those configs should not be updated. The zone files
in /var/lib/named/ are what matters:

nameserver:/var/lib/named/master # l example*
-rw-r--r-- 1 named named 11891 2019-03-15 18:05
-rw-r--r-- 1 named named 732 2019-03-16 08:52

(I've just now added a txt record, hence the 0852 timestamp on the

However, it still is not persisted into
/etc/named.d/local/master/  The jnl file is still in the
chrooted directory...
Aha, now I see what is happening.

You have put your zone file in

file "/etc/named.d/external/master/";

That won't work, at least not with the current init-scripts supplied by

I suggest you use "/var/lib/named/master/" instead.

config and data are kept separately - in /etc/named.{d/,conf} and
in /var/lib/named/, respectively. The config is copied into the chroot
dir, but the data is kept/maintained in /var/lib/named/. In your
zonefile config, just use something like this:

zone "" {
type master;
------> file "master/";
forwarders { };
notify yes;
etc etc

*Computers: the final frontier. These are the voyages of the user Marc.
His mission: to explore strange new hardware. To seek out new software
and new applications.
To boldly go where no Marc has gone before!

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups