Re: Bind918 slave reports Dumping master file...open: file not found

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Sat, 17 Feb 2024 20:39:48 UTC
Hello.

It would be easier for later visitors to understand if the background of the "working" directory were also explained.

Moin Rahman wrote on 2024/02/18 03:34:
>> On Feb 17, 2024, at 7:26 PM, bob prohaska <fbsd@www.zefox.net> wrote:
>> The options section of named.conf contains:
>>        directory       "/usr/local/etc/namedb/working";
> 
> Do you have a directory named `slave` under `/usr/local/etc/namedb/working` ?

First, this directory is just to avoid the warning that occurs at
https://gitlab.isc.org/isc-projects/bind9/-/blob/366b93f83565902aa98b3e146e0ead88e7502d87/bin/named/server.c#L9228

For this we will be asked to write a configuration file that takes into account that the working directory is there.
In named.conf.sample, everything is replaced with absolute paths.

Since absolute paths are long, we want to use relative paths to make things easier :)
So since all the provided directories are at the same level as the "working" directory, they need to be written with relative paths such as ../slave. and/or ../secondary..

Is this an acceptable explanation? :)

Regards.