Blanket "provide-xfr" for local network?

Hi,

I would like to

server:
   ...
   provide-xfr: my-local-network

so I don't have to do it for every zone, individually.

Trying this with nsd3 gave me an error, though, but maybe I don't yet
understand all the options that it has.

Kind regards,
--Toni++

I would like to

   provide-xfr: my-local-network

so I don't have to do it for every zone, individually.

From nsd.conf(5)

        The ip-spec is either a plain IP address (IPv4 or IPv6), or can
        be a subnet of the form 1.2.3.4/24, or masked like
        1.2.3.4&255.255.255.0 or a range of the form 1.2.3.4-1.2.3.25.

That should do the trick :wink:

        -JP

Hi Jan-Piet,

this seems to be a misunderstanding. I want to do this in the 'server'
section for all my zones at once, not on a per-zone basis.

Sorry Toni -- I should have _read_ the question properly.

No, that isn't possible. What I do is to generate the nsd.conf file, or
rather a file which contains the `zone' stanzas, and `include:' that
file into nsd.conf. (FWIW, I use filepp [1] for that, because it allows
me to use macros on the source, but sed(1) or similar do the trick as
well.)

        -JP

[1] http://www.cabaret.demon.co.uk/filepp/

Hi Jan-Piet,

Sorry Toni -- I should have _read_ the question properly.

np.

No, that isn't possible.

Ok, so at least, I did not misread the man page.

What I do is to generate the nsd.conf file, or
rather a file which contains the `zone' stanzas, and `include:' that
file into nsd.conf.

I hoped to get away without doing this added stuff, and/or to find this
feature in nsd4.

(FWIW, I use filepp [1] for that, because it allows

[1] http://www.cabaret.demon.co.uk/filepp/

Thank you. I'll look at it, although I'm rather a snake-head. :wink:

And FWIW, if you're on Debian,

$ apt-cache search filepp
filepp - A generic perl-based file pre-processor
$

should be just as good. :wink:

Kind regards,
--Toni++