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

Koh-ichi Ito kohi at iri.co.jp
Fri Nov 24 07:39:13 CET 2006


Hello,

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 0.0.0.0 and giving 'ip-address: 0.0.0.0'
work fine.

ingram2# /proj/nsd-3.0.2/sbin/nsd -t /proj/nsd3 -a 0.0.0.0
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?

Thanks

						Koh-ichi Ito
				Internet Research Institute, Inc.



More information about the nsd-users mailing list