DNS issue (minor)

Discussion in 'General' started by Curtis Maurand, Apr 21, 2023.

Tags:
  1. Hello,
    I have a DNS server running BIND9. ispconfig version is 3.2.9p1. This server is running fine mostly without issue. A couple o fthings happened recently that had me scratching my head. This particular server acts as a slave dns server to 3 primaries that are running various flavors of linux and controlled using Plesk Obsidian. To handle all DNS operations Plesk uses rndc and keys. It works well and this slave is kept in sync quite nicely with them. In the process of setting things up, I had to make changes to /etc/bind/named.options and /etc/bind/named.conf.local to add the options for those controls. All was working well until I upgraded ispconfig which clobbered the /etc/bin/d/named.conf/options and /etc/bind/named.conf.local. I restored my changes. to get things working again and resynced the zones. Then to test adding a slave zone from another primary that is also running ispconfig 3.2.9p1, the zone was added to /etc/bind/named.conf.local. That's good. ispconfig clobbered what was already in there. I added a new include file /etc/bind/named.conf to put my changes in. The server is running fine and talking to the various primaries and transferring zones normally (rndc reload example.com).

    Question: will ispconfig, upon the next upgrade, clobber /etc/bind/named.conf, /etc/bind/named.conf.options again? I expect that it will now leave /etc/bind/named.conf.local alone since ispconfig generated that file.

    rndc is nothing short of cool and is equivalent to pdnsutil and does the same things without the need to restart /usr/sbin/named. pdns never needs restarting.

    Thanks,
    Curtis
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so you manually edited files managed by ISPConfig but forgot to make your manual changes update-safe.

    ISPConfig will indeed fix and update files of services that you manually altered, that's the purpose of a control panel to update and manage config files that are controlled by it. You must create matching template files for your alternate config if you want to use a different template set. Template file overrides from install/tpl/ of the ISPConfig tar.gz go to /usr/local/ispconfig/server/conf-custom/install/ and template overrides from /usr/local/ispconfig/server/conf/ go to /usr/local/ispconfig/server/conf-custom/
     
    Last edited: Apr 21, 2023
  3. Hello,
    Thank you so much. I will check out those templates and make the appropriate modifications.
    --Curtis
     
    till likes this.

Share This Page