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 "zone {}" for each domain. Does rndc addzone automatic change zones list named.conf.local?

I have default named.conf

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

list of all 1000 zones stored in named.conf.local

Directory with zones /etc/bind/zones/

Example of a zone

$TTL 1H
@    IN    SOA    ns1.server.com.    root.example1.com. (
    2311151160    ; serial
    3H    ; refresh
    1H    ; retry
    2W    ; expiry
    1H )    ; ttl
@ IN NS  ns1.server.com.
@ IN NS  ns2.server.com.
@ IN A  123.123.123.123
* IN A  123.123.123.123
@ IN MX 10 mail


27.11.2024 12:27, Cathy Almond пишет:
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 to just add the zone file itself whitout editing the big list. Is this possible? There are simpler options?



rndc addzone?

--

What is the purpose of these zones - are they all different unique content for example, or are they being used as some kind of block list (i.e. empty zones or zones with a wild-card redirect)?
-- 
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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to