Hi!
I am having trouble on OpenBSD v. 5.1 using NSD nameserver.
When slave NSD name server receives zone update and reloads it into its
database high and sustained user load (about 1-2) is generated on cpu
depending on hardware from 3 minutes to 10 minutes. Also this kind on
load is observed when doing nsdc patch. It seems to happen only when
zone has many RRs, say 100k NS lines; using NSD with OpenBSD v. 4.8 from
packages does not have this issue, also not 5.1-current, but 5.1 does; i
have tried and got similar results on amd64 and i386, happens on
both; Normally this kind of reload and patch takes several seconds only.
My nsd conf is as following on the slave
server:
hide-version: yes
ip-address: 10.193.0.53
ip-address: 192.168.1.211
ip-address: 127.0.0.1
chroot: /var/nsd
logfile: /var/log/nsd.log
zone:
name: "bar"
zonefile: "bar.zone"
allow-notify: 127.0.0.1 NOKEY
allow-notify: 192.80.102.35 NOKEY
request-xfr: AXFR 192.80.109.158 NOKEY
provide-xfr: 10.193.0.53 NOKEY
provide-xfr: 192.168.10.10 NOKEY
allow-axfr-fallback: "yes"
and master zone for bar. is like
$TTL 86400
@ IN SOA ns.foo.bar. hostmaster.foo.bar. (
2012052308 14400 7200 3600000 10800 )
IN NS ns.foo.bar.
aa000 IN NS aa000.bar.foo.
aa001 IN NS aa001.bar.foo.
...
lc994 IN NS lc994.bar.foo.
I would be very thankful if somebody could have a look at it and confirm
this behaviour. And if really nsd on 5.1 is to blame may i add that
patch would be very much welcomed! :)
Best regards,
Imre
PS I used first time sendbug utility to ask help on this, but i am not
sure i got it all right but at least i can say i succeeded to send out
an email
May 23 13:16:21 post-relay postfix/smtp[11753]: A1E707E5F7:
to=<[email protected]>,
relay=shear.ucar.edu[192.43.244.163]:25, delay=3.8,
delays=0.01/0.06/2.3/1.4, dsn=2.0.0, status=sent (250 2.0.0
q4NAGI62032168 Message accepted for delivery)