If nothing else works, you can always 'include' a file that contains
configuration stanzas of those zones and then use a script to add new
zone stanzas to the file.
# Include config file with thousands of domains
include "/etc/named.d/1000s_domains.conf";
The script could either recreate the
On 11/27/24 05:09, Dimitry Bansikov wrote:
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?
Can you programmatically edit the file?
You might be able to re-structure the list of zone statement
On 27.11.24 um 12:09 Dimitry Bansikov:
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
No - new zones added dynamically don't go into named.conf or any include
files of named.conf (these I suspect are part of a default OS
distribution default set-up that you've adopted, but include files are
often used anyway).
They go into another file or database that named accesses at start-u
They are all different with different A/MX/CNAME records. I just looking
for easier and most performance way to manage zones. Just by
adding/deleting zone file. Best way, if i can setup a directory with all
zones (files) and bind can read/include all files from this directory
without writing "z
Hi there,
On Wed, 27 Nov 2024, Dimitry Bansikov wrote:
...
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?
I'm sure it's possible. If it were my "big list", and I could see no
alternative bu
On 27/11/2024 11:19, Dimitry Bansikov wrote:
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
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 edi
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
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 m
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 wrote:
>
> Hello.
> I can’t find a way to configure all zones files as wildcard.
> As exampl
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";
12 matches
Mail list logo