Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2024 19:34:14 +0100
From:      Moin Rahman <bofh@freebsd.org>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Bind918 slave reports  Dumping master file...open: file not found 
Message-ID:  <CD32FE07-A050-42CF-A91C-342B90A583B7@freebsd.org>
In-Reply-To: <ZdD6cqD8Sc59%2Bn%2Bk@www.zefox.net>
References:  <ZdD6cqD8Sc59%2Bn%2Bk@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Feb 17, 2024, at 7:26 PM, bob prohaska <fbsd@www.zefox.net> wrote:
>=20
> A releng/14 armv7 system using bind918 from pkg has been
> configured as a slave. The  zone files were moved from a
> bind913 installation to the default /usr/local/etc/namedb.
> Transfers from the master seem to work and the slave answers
> queries.
>=20
> The options section of named.conf contains:
>        directory       "/usr/local/etc/namedb/working";
>        pid-file        "/var/run/named/pid";
>        dump-file       "/var/dump/named_dump.db";
>        statistics-file "/var/stats/named.stats";
>        recursion no;
>=20
>=20
> The files and directories  exist with reasonable permissions:
>=20
> # ls -ld /usr/local/etc/namedb/working
> drwxr-xr-x  2 bind bind 512 Feb 16 15:29 /usr/local/etc/namedb/working
>=20
> # ls -l /var/run/named/pid
> -rw-r--r--  1 bind bind 5 Feb 16 15:29 /var/run/named/pid
>=20
> # ls -l /var/dump/named_dump.db
> -rw-r--r--  1 bind bind 0 Feb 16 15:28 /var/dump/named_dump.db
>=20
> After stopping and restarting named /var/log/messages still contains:
> ...
> Feb 16 15:35:38 ns2temp named[3730]: all zones loaded
> Feb 16 15:35:38 ns2temp named[3730]: running
> Feb 16 15:35:38 ns2temp named[3730]: dumping master file: =
slave/tmp-GJCoWCIfkq: open: file not found
> Feb 16 15:35:38 ns2temp named[3730]: managed-keys.bind.jnl: open: =
permission denied
> Feb 16 15:35:38 ns2temp named[3730]: managed-keys-zone: =
keyfetch_done:dns_journal_open -> unexpected error
> Feb 16 15:35:38 ns2temp named[3730]: managed-keys-zone: error during =
managed-keys processing (unexpected error): DNSSEC validation may be at =
risk
> Feb 16 15:35:38 ns2temp named[3730]: checkhints: b.root-servers.net/A =
(170.247.170.2) missing from hints
> Feb 16 15:35:38 ns2temp named[3730]: checkhints: b.root-servers.net/A =
(199.9.14.201) extra record in hints
> Feb 16 15:35:38 ns2temp named[3730]: checkhints: =
b.root-servers.net/AAAA (2801:1b8:10::b) missing from hints
> Feb 16 15:35:38 ns2temp named[3730]: checkhints: =
b.root-servers.net/AAAA (2001:500:200::b) extra record in hints
> Feb 16 15:35:38 ns2temp named[3730]: dumping master file: =
slave/tmp-Q6Y3sYziKE: open: file not found
> Feb 16 15:35:38 ns2temp named[3730]: dumping master file: =
slave/tmp-vASSKxorvs: open: file not found
>=20
> The "...file not found..." errors repeat at intervals. The checkhints =
errors appear
> harmless since the server is not recursive.
>=20
> I did not adopt the convention of naming directories primary and =
secondary, sticking
> with the old master and slave nomenclature. Could that be the culprit? =
I'm hesitant
> to mess with zone files that work 8-)
>=20
> Any hints on where to look in the man pages would be much appreciated. =
I thought
> there was a configuration test somewhere in the bind package but don't =
find it.
>=20
> Thanks for reading,
>=20
> bob prohaska
>=20

Do you have a directory named `slave` under =
`/usr/local/etc/namedb/working` ?

Kind regards,
Moin

--Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmXQ/CZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJHi3Q//WOKDaB+yZ26D+Y7f4eJwtPk7GvQY/iiQiKcS+zi9bf39tSFKM83dL8Qj
RDSKrFy5tc82ZDGnx+JZAKSMTxRapdtuAH8CWpEBIfxh4gTdbR+7/q5+RT0hEqIT
4CYZJkcaPHW1LD0PGxZH/TsK3glWFV3vGqTtnN9j5z6smL5x4eqd5D6yXjM9rNwe
Kzhx+p6vciTGpTlcdpC8mfNUGMpCexikLRK6syYKLubgg0Ja0XY7X5tYpXjk9+Vz
iC6doTzt708TmQaRDxw1AckOvaIU6+4iQpFO6n241pjufsGGpZDk3YwWViAazL/B
4ypVG2shFPQHwh/3jXQHl5PC2nK5ukz3TkAtz1uZ6LeV1wwxQEYe97a/AJ9FRt3K
P9cbT03AYGRIiPUF3xcoT9Xn2NgQd27XuaTsJ/Vmo4KwJ8bILROQyGco0FlpaLlI
7LWhZqAJot5Qb/FUqSVlb5wIrePHRIktY9rmid8bF9kKE8fwLqr7POekQyGEGyki
4f6CmoBlPlGsxNwQnkwgtVADrFy/f0FcrakOl/aR/HIy4AsSHlaANIeYAMRuGeCP
tg9qdgPMhAKVdLcKy5E1YdHqKAi0DPxmAMKD2IR2/4wM6dy4KZ0WiDkdIOyUZurB
1yiXO+gYnozD71jttZclqP70Yztt0ohtqye8dDOdempsQm2Vq6M=
=vW4D
-----END PGP SIGNATURE-----

--Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CD32FE07-A050-42CF-A91C-342B90A583B7>