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 :slight_smile:

Paul

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 :slight_smile:

Fixed the man page.
Added provide-xfr: ::0/0 NOKEY to allow ip6 addresses.

Thanks,
  Wouter