How to make named.conf.options persistent

Discussion in 'Server Operation' started by FredZ, Nov 18, 2024 at 5:50 AM.

  1. FredZ

    FredZ Member

    Hello
    I am wanting to set some options within bind (named.conf.options) and I am wanting to know how to make them persistent as ISPConfig seems to over write it.

    (Debian Bookworm) ISPConfig 3.2.12p1
    This is a new install using the autoinstall script.

    Regards

    Fred
     
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    Never had any problem of it being overwritten.
    Only named.conf.local
     
  3. FredZ

    FredZ Member

    You are correct, the named.conf.local files does get over written. And that was the file I referred to.
    So how/where do I declare options so they become persistent?
    Regards

    Fred
     
  4. remkoh

    remkoh Active Member HowtoForge Supporter

    Put it in named.conf.options
     
  5. FredZ

    FredZ Member

    Your NOT reading my posts properly.
    named.conf.options is being over written, therefore any options manually put into that file are NOT persistent.

    So I repeat my question. How/where do I put options so they become persistent?

    Regards

    Fred
     
  6. remkoh

    remkoh Active Member HowtoForge Supporter

    named.conf.options should not get to be overwritten by ISPC, only named.conf.local is rewritten when adding or deleting a domain.
    The file name explains its use, for options. Including your desired custom ones.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess named.conf.options might get overwritten on ISPConfig update. In that caye, copy the template file of the config file that gets overwritten from ISPConfig tar.gz (see install/tpl/ folder in the tar.gz file) to the folder /usr/local/ispconfig/server/conf-custom/install/ and modify it there.
     
    ahrasis and remkoh like this.
  8. remkoh

    remkoh Active Member HowtoForge Supporter

    Interesting, hadn't thought of that scenario.
    (Also wasn't made clear when it got overwritten)
     
  9. FredZ

    FredZ Member

    Thank you for the suggestion Till. That worked a treat.

    Regards

    Fred
     
    till likes this.

Share This Page