Zones list mask or wildcard
Cathy Almond
cathya at isc.org
Wed Nov 27 10:30:00 UTC 2024
On 27/11/2024 09:54, Dimitry Bansikov wrote:
> Hello.
> I can’t find a way to configure all zones files as wildcard.
> As example i have some configuration with 1000 zones and the list file
> is big:
> zone "example1.org" {type master; file "/etc/bind/zones/example1.org.db";};
> zone "example2.org" {type master; file "/etc/bind/zones/example2.org.db";};
> zone "example3.org" {type master; file "/etc/bind/zones/example3.org.db";};
> ...
> Is it possible to use a mask just with one entry, so this will be
> automatically?
> As example so:
> zone "*" {type master; file "/etc/bind/zones/*.db";};
>
>
Hi Dimitry,
No - you can't do that in BIND. But could I ask another question: What
do you need these zones for? There may be another way to achieve what
you want to be able to easily do that we could point you towards?
Regards,
Cathy Almond
More information about the bind-users
mailing list