nsd 3.0.2 complains if no -a and no ip-address:

Koh-ichi Ito kohi at iri.co.jp
Mon Nov 27 03:11:10 UTC 2006

# I resend this mail because it seems to be lost.
# Excuse me if it is duplicated.


It's on my way of trial on NSD 3.0.2.

When I invoke nsd without -a option and no 'ip-address:'
entry on nsd.conf, it complains like

	ingram2# /proj/nsd-3.0.2/sbin/nsd -t /proj/nsd3
	[1164349528] nsd[69777]: error: cannot parse address '(null)'

But nsd.conf.5 says...

	ip-address: <ip4 or ip6>
	....If none are given NSD lis-
	tens to all IP addresses. Same as commandline option -a.

Both giving -a and giving 'ip-address:'
work fine.

ingram2# /proj/nsd-3.0.2/sbin/nsd -t /proj/nsd3 -a
ingram2# netstat -af inet | grep \\.domain
tcp4       0      0  *.domain               *.*                    LISTEN
udp4       0      0  *.domain               *.*

I observed this case on FreeBSD 6.1.

ingram2# uname -rs
FreeBSD 6.1-RELEASE-p10

I don't understand the behabior of getaddrinfo(NULL, ...),
{shortage of the background knowledge causes it}, the
problem may be around there, I guess.

Any fault on me?


						Koh-ichi Ito
				Internet Research Institute, Inc.

More information about the nsd-users mailing list