parse error when specifying more than 8 ip's on command line

If I try and specify more than 8 IP's to bind to on the command line,
I get a parse error. Example:

./nsd -a 127.0.0.1 -a 127.0.0.2 -a 127.0.0.3 -a 127.0.0.4 -a 127.0.0.5
-a 127.0.0.6 -a 127.0.0.7 -a 127.0.0.8

works fine

./nsd -a 127.0.0.1 -a 127.0.0.2 -a 127.0.0.3 -a 127.0.0.4 -a 127.0.0.5
-a 127.0.0.6 -a 127.0.0.7 -a 127.0.0.8 -a 127.0.0.9
nsd: error: cannot parse address '127.0.0.1'

so you can see the parse problem. Any thoughts? Please CC me on the response.

Thanks!

MAX_INTERFACES is set to 8 in configure.ac, so it's a compiled in limit.
You can manually edit config.h between the configure and make stages if
you'd like more than 8 interfaces.

I'm assuming you used redundant 127/8 addresses to not divulge your real
addresses.

There is a hard coded limit of 8 addresses. You can modify the source to
get more. Or you can just run multiple instances of nsd. Since the -a
option is on the command line, that's quite easy to do. You might even
get a bit faster performance that way.