Add IP on al zones for "Allowing AXFR transfers"

2 posts / 0 new
Last post
#1 Tue, 07/02/2013 - 14:15
monil

Add IP on al zones for "Allowing AXFR transfers"

I have around 400+ domains on my Virtualmin server. For each zone (domain), I want to add an IP in the allow-transfer section of named.conf.

All my zones have:
allow-transfer {
127.0.0.1;
localnets;
19x.xx7.xxx.x4;
};
};

I need to add another IP to this list... how can I do that for "all" domains? Is there a commandline option which will allow me to add the IP in allow-transfer list?

Tue, 07/02/2013 - 18:08
Locutus

If it should apply to all past, present and future zones, you can put it into BIND's global options file, which on Ubuntu/Debian is named /etc/bind/named.options.conf.

Topic locked