Author Topic: named.conf.local  (Read 195 times)

frenzykiwi

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
named.conf.local
« on: June 09, 2019, 02:42:51 am »
Hello,
I am trying to add another subnet to the dns allow and seem to have run into a problem. The file named.conf.local resets when I restart the dns service or reboot.
 I have searched the forums and found nothing specific to Zentyal, but a few pointing to resolv.conf but the conf files in the resolvconf dir seem to be empty.
NetworkManager seems to have no information that relates to my problem.

So my question is, how do i get the changes to stick in named.conf.local?

doncamilo

  • Zen Warrior
  • ***
  • Posts: 130
  • Karma: +23/-0
    • View Profile
Re: named.conf.local
« Reply #1 on: June 10, 2019, 10:18:45 am »
Zentyal uses "stubs" (templates) and redis (a database) in order to generate the configuration files for the OS. Each time a services is restarted Zentyal regenerates the config files.

So, in order to customize a service, you have to customize the desired template. Read this in order to accomplish this task. https://doc.zentyal.org/en/appendix-c.html (search Advanced Service Customization)

Cheers!