NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-9 nsd(8) borken?



In article <b20b4287-8318-6ce4-1714-0daab22eac46%spg.tu-darmstadt.de@localhost>,
Hauke Fath  <hf%spg.tu-darmstadt.de@localhost> wrote:
>Hi,
>
>I have a need for an authoritative nameserver (actually several, there 
>is a netbsd-5 named instance to replace), and so built netbsd-9 with 
>MKNSD=1, since the base nsd(8) will set up and run in a chroot, unlike 
>the pkgsrc version.
>
>The result is less than convincing:
>
>
>% head /etc/nsd/causeuse.org
>; $Id: causeuse.org,v 1.15 2022/09/12 15:58:10 hf Exp hf $
>;
>; causeuse.org master
>;
>$ORIGIN causeuse.org.
>$TTL 86400      ; 1 day
>;
>@               IN      SOA     ns2.causeuse.org. hostmaster.causeuse.org. (
>                                 2022091201 ; serial
>                                 28800      ; refresh (8 hours)
>
>	-- this zone file is in production.
>
>% /usr/sbin/nsd -v
>NSD version 4.1.27
>Written by NLnet Labs.
>
>Copyright (C) 2001-2006 NLnet Labs.  This is free software.
>There is NO warranty; not even for MERCHANTABILITY or FITNESS
>FOR A PARTICULAR PURPOSE.
>
>	-- what they said.
>
>% /usr/sbin/nsd-checkzone causeuse.org /etc/nsd/causeuse.org
>[2022-09-14 17:10:55.439] nsd-checkzone[12565]: error: 
>/etc/nsd/causeuse.org:5: zero label length
>[2022-09-14 17:10:55.440] nsd-checkzone[12565]: error: 
>/etc/nsd/causeuse.org:5: syntax error
>[2022-09-14 17:10:55.440] nsd-checkzone[12565]: error: 
>/etc/nsd/causeuse.org:52: zone configured as 'causeuse.org' has no SOA 
>record.
>zone causeuse.org file /etc/nsd/causeuse.org has 3 errors
>
>	-- no search engine hits for "zero label length" "nsd"
>            outside of the source code.
>
>% /usr/pkg/sbin/nsd-checkzone causeuse.org /etc/nsd/causeuse.org
>zone causeuse.org is ok
>%
>
>	-- pkgsrc nsd is 4.6.0
>
>
>Am I right in assuming that nobody uses the netbsd-9 nsd(8), since 
>nobody appears to have noticed the bit rot? Yes, I know that it's not in 
>the default build, but still...
>
>Or is there any perspective for an update?
>
>Should I send-pr?

Yes, does the one at HEAD work?

christos



Home | Main Index | Thread Index | Old Index