<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>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?<br>
    </p>
    <p>I have default named.conf</p>
    <p>include "/etc/bind/named.conf.options";<br>
      include "/etc/bind/named.conf.local";<br>
      include "/etc/bind/named.conf.default-zones";
      <style>span {
        font-family: 'Consolas';
        font-size: 9pt;
        color: #000000;
}.sc0 {
}.sc1 {
        color: #008000;
}</style></p>
    <p>list of all 1000 zones stored in named.conf.local</p>
    <p>Directory with zones /etc/bind/zones/</p>
    <p>Example of a zone<br>
    </p>
    <p>$TTL 1H<br>
      @    IN    SOA    ns1.server.com.    root.example1.com. (<br>
          2311151160    ; serial<br>
          3H    ; refresh<br>
          1H    ; retry<br>
          2W    ; expiry<br>
          1H )    ; ttl<br>
      @ IN NS  ns1.server.com.<br>
      @ IN NS  ns2.server.com.<br>
      @ IN A  123.123.123.123<br>
      * IN A  123.123.123.123<br>
      @ IN MX 10 mail
      <style>span {
        font-family: 'Consolas';
        font-size: 9pt;
        color: #000000;
}.sc0 {
}</style></p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">27.11.2024 12:27, Cathy Almond пишет:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e4803efd-3f2a-4e65-8f73-1d45508a5940@isc.org">On
      27/11/2024 11:19, Dimitry Bansikov wrote:
      <br>
      <blockquote type="cite">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
        {...};".
        <br>
        <br>
        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?
        <br>
        <br>
        <br>
      </blockquote>
      <br>
      rndc addzone?
      <br>
      <br>
      --
      <br>
      <br>
      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)?
      <br>
    </blockquote>
  </body>
</html>