Zones list mask or wildcard
Dimitry Bansikov
dimitry at bansikov.de
Wed Nov 27 11:09:51 UTC 2024
Unfortunately, it looks like this is not what i need.
As I wrote earlier, I have 1000 different zones for domains. And to add
a new zone or delete an old one, I have to change a file with a large
list of lines "zone domain IN {...};".
I need to simplify adding and removing a domain so that it is enough to
just add the zone file itself whitout editing the big list. Is this
possible?
27.11.2024 11:06, Darren Ankney пишет:
> Hi Dimitry,
>
> Perhaps catalog zones
> (https://bind9.readthedocs.io/en/v9.18.31/chapter6.html#configuring-catalog-zones)
> might help?
>
> Thank you,
> Darren Ankney
>
> On Wed, Nov 27, 2024 at 4:54 AM Dimitry Bansikov <dimitry at bansikov.de> 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";};
>>
>> --
>> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>>
>> ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information.
>>
>>
>> bind-users mailing list
>> bind-users at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-users
More information about the bind-users
mailing list