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

Phil Howard phil-nsd-users at ipal.net
Mon Feb 28 12:32:59 UTC 2005


On Fri, Feb 25, 2005 at 10:38:17AM -0800, Sean Leach wrote:

| 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.

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.

-- 
-----------------------------------------------------------------------------
| Phil Howard KA9WGN       | http://linuxhomepage.com/      http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/   http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------



More information about the nsd-users mailing list