Paul Wouters
2007-Oct-02 19:12 UTC
[nsd-users] 0/0 is not valid, though the man page says it is
Hi, The man page for nsd.conf claims the following syntax is valid: provide-xfr: 0/0 NOKEY However, this gives the error: /var/dnsx/nsd.zones:9: error: Bad ip4 address '0' The following does work: provide-xfr: 0.0.0.0/0 NOKEY So either the code is wrong, or the man page :) Paul
W.C.A. Wijngaards
2007-Oct-05 06:12 UTC
[nsd-users] 0/0 is not valid, though the man page says it is
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Wouters wrote:> Hi, > > The man page for nsd.conf claims the following syntax is valid: > > provide-xfr: 0/0 NOKEY > > However, this gives the error: > > /var/dnsx/nsd.zones:9: error: Bad ip4 address '0' > > The following does work: > > provide-xfr: 0.0.0.0/0 NOKEY > > So either the code is wrong, or the man page :)Fixed the man page. Added provide-xfr: ::0/0 NOKEY to allow ip6 addresses. Thanks, Wouter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHBdXKkDLqNwOhpPgRAnixAKCIG1IbKhASvAPETu38v3b3Cw958ACfSjAq 6lmfRknVF3Jcsp1HHu+fWYA=PpAC -----END PGP SIGNATURE-----