Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2019 19:50:45 -0500
From:      Dan Langille <dan@langille.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Cc:        Mathieu Arnold <mat@FreeBSD.org>
Subject:   dns/bind911 - statistics-file
Message-ID:  <0B943CDD-3A9E-4026-8AD4-8D8007902CCB@langille.org>

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

--Apple-Mail=_39EF1950-C9F1-4697-98CE-1714020CE3B3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Mat,

I encountered an odd situation where my stats file kept changing =
permissions.  With every reinstall of bind911,
the permissions on var/run/named/stats change to chown root:bind which =
prevents bind from updating the file.

This is what I need:

$ ls -l /var/run/named/stats
-rw-r--r--  1 bind  bind  11507 Jan 20 00:45 /var/run/named/stats

Could that change be carried out by this file?

  =
https://svnweb.freebsd.org/ports/head/dns/bind911/files/BIND.chroot.dist?v=
iew=3Dmarkup#l24

I don't see a reference to /var/run/named/stats in BIND.chroot.dist but =
can't help but wonder if it's something similar.

I have been using these options:

        directory       "/usr/local/etc/namedb/working";
        pid-file        "/var/run/named/pid";
        dump-file       "/var/dump/named_dump.db";
        statistics-file "/var/run/named/stats";
        zone-statistics yes;

When researching this tonight, I noticed the sample configuration uses =
/var/run/named.stats. Perhaps I'm doing this wrong.
I am happy to change my configuration, but first I write in case the =
script is doing something unexpected.

Ideas welcome.

Thank you.

--
Dan Langille - BSDCan / PGCon
dan@langille.org



--Apple-Mail=_39EF1950-C9F1-4697-98CE-1714020CE3B3
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-----

iQEzBAEBCAAdFiEEzqcJ4oeyf8sgTIEBIU09XU2nXtMFAlxDxeYACgkQIU09XU2n
XtPsyQf/d2ODdJCBTom1p/QElQ8dGM/1FPcUdx7TA9JcLjQqzEBVhjzhZLYWdEGd
IDzKCZspULMjwrWiTGypgFsOHwuoyjhKvx5IsgQlqySwuka27gsoOhFCImoXDRtV
pcB0uInzwBY4GmcLITGS57B8yE2GjxEiTgANkQf92arYY2tS4X87ol3CER+inlEK
UISxzhnrB+D1sVv0hJSq1M2B3MzHk+cI6BnRGCd76e0SwvHuRd17TTjus6GiIUKi
Pmm9cB9IqtsRd0DcwvV2C33FtW40b/10jYJbD6L2q/e1GXaU7tCGQv5MJOj1gpFn
X0iPO/bqYq9A9JsCKt9xv/4lGmEGbw==
=ZUrk
-----END PGP SIGNATURE-----

--Apple-Mail=_39EF1950-C9F1-4697-98CE-1714020CE3B3--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B943CDD-3A9E-4026-8AD4-8D8007902CCB>