Re: named service suddenly fails to start

2021-11-05 Thread Mark Andrews
Check-names in enforced by UPDATE independent of the format the zone is stored in.  Named-compilezone will also reject by default.   -k mode  This  option  performs  check-names  checks  with  the  specified  failure  mode.   Possible  modes are fail (the default for named-compilezo

Re: named service suddenly fails to start

2021-11-05 Thread Petr Menšík
I am not 100% sure, but what format of the zone were used? I think this should be usually catched by default check-names value on master zones. However, in masterfile-format, I found this sentence [1]: > In particular, *check-names* checks do not apply for the |raw| format. Does that mean dynami

Re: named service suddenly fails to start

2021-11-04 Thread Mark Andrews
> On 5 Nov 2021, at 07:11, Grant Taylor via bind-users > wrote: > > On 11/4/21 1:27 PM, Bruce Johnson via bind-users wrote: >> named-checkconf -z revealed a name had been entered with underscores. The >> person responsible has been sacked. (not really, merely reminded no >> underscores are a

Re: named service suddenly fails to start

2021-11-04 Thread Fred Morris
Grant Taylor's reply is good, but you might also look at the check-names option. As he says, underscores are frowned on in hostnames but that's about it in theory if not in practice. You could also contemplate changing the logging destination and level... or not. -- Fred Morris On Thu, 4 N

Re: named service suddenly fails to start

2021-11-04 Thread Reindl Harald
Am 04.11.21 um 21:11 schrieb Grant Taylor via bind-users: On 11/4/21 1:27 PM, Bruce Johnson via bind-users wrote: named-checkconf -z revealed a name had been entered with underscores. The person responsible has been sacked. (not really, merely reminded no underscores are allowed in A records

Re: named service suddenly fails to start

2021-11-04 Thread Grant Taylor via bind-users
On 11/4/21 1:27 PM, Bruce Johnson via bind-users wrote: named-checkconf -z revealed a name had been entered with underscores. The person responsible has been sacked. (not really, merely reminded no underscores are allowed in A records :-) You might want to apologize to them. Underscores are l

Re: named service suddenly fails to start

2021-11-04 Thread John Thurston
On 11/4/2021 11:27 AM, Bruce Johnson via bind-users wrote: named-checkconf -z revealed a name had been entered with underscores. The person responsible has been sacked. (not really, merely reminded no underscores are allowed in A records :-) Sounds to me like you might want to incorporate so

Re: named service suddenly fails to start

2021-11-04 Thread Reindl Harald
Am 04.11.21 um 20:27 schrieb Bruce Johnson via bind-users: On Nov 4, 2021, at 12:01 PM, Bruce Johnson > wrote: This morning our server started failing to reload or start. checking the status reveals not a lot of info: systemctl status named-chroot ● named

Re: named service suddenly fails to start

2021-11-04 Thread Bruce Johnson via bind-users
On Nov 4, 2021, at 12:05 PM, Reindl Harald mailto:h.rei...@thelounge.net>> wrote: ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -t /var/named/chroot -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exi this nons

Re: named service suddenly fails to start

2021-11-04 Thread Bruce Johnson via bind-users
On Nov 4, 2021, at 12:01 PM, Bruce Johnson mailto:john...@pharmacy.arizona.edu>> wrote: This morning our server started failing to reload or start. checking the status reveals not a lot of info: systemctl status named-chroot ● named-chroot.service - Berkeley Internet Name Domain (DNS) Loaded:

Re: named service suddenly fails to start

2021-11-04 Thread Reindl Harald
Am 04.11.21 um 20:01 schrieb Bruce Johnson via bind-users: This morning our server started failing to reload or start. checking the status reveals not a lot of info: systemctl status named-chroot ● named-chroot.service - Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd

named service suddenly fails to start

2021-11-04 Thread Bruce Johnson via bind-users
This morning our server started failing to reload or start. checking the status reveals not a lot of info: systemctl status named-chroot ● named-chroot.service - Berkeley Internet Name Domain (DNS) Loaded: loaded (/usr/lib/systemd/system/named-chroot.service; enabled; vendor preset: disabled