BIND does not regenerate zone files

Discussion in 'General' started by variable99, May 11, 2026 at 8:58 AM.

  1. variable99

    variable99 Active Member

    I have made some change to DNS template by setting new values. Launched DNS record sync but NS server did not update their named.conf.local file. Is this expected behavior?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which DNS template did you change? Did you use debug mode to check if changes get processed by the DNS node?
     
  3. variable99

    variable99 Active Member

    There is default one which comes when ISPC installed. Looks like this:

    [ZONE]
    origin={DOMAIN}.
    ns={NS1}.
    mbox={EMAIL}.
    refresh=7200
    retry=540
    expire=1209600
    minimum=3600
    ttl=3600
    xfer=
    also_notify=
    dnssec_wanted=N
    dnssec_algo=ECDSAP256SHA256

    I have added:

    [ZONE]
    origin={DOMAIN}.
    ns={NS1}.
    mbox={EMAIL}.
    refresh=7200
    retry=540
    expire=1209600
    minimum=3600
    ttl=3600
    xfer=127.0.0.2,::1
    also_notify=127.0.0.2,::1
    dnssec_wanted=N
    dnssec_algo=ECDSAP256SHA256

    Ips of course are redacted. I have investigated DB part, new entries added only for newly added domains. Current active records did not update according to new template params.
    Should I edit existing (before DNS template edit) records in DB to implement change in named.conf.local file?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This is the DNS wizard template that is used to create new Zones with the wizard. Altering this can not have any effect on existing zones. If you eant to alter these fields for existing zones, alter them on the master using SQL in the database and then use Tools > resync.
     
    ahrasis likes this.
  5. variable99

    variable99 Active Member

    Ok, I understood this. How should I proceed in order to update existing records?

    1. Update entries in database
    2. Rewrite named.local.conf in both NS machines

    Is this correct flow? Or I missing something.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Update entries in database on ISPConfig master.
    2) Run Tools > resync.

    Do not manually alter named.conf.local file.
     

Share This Page