manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin

Started by Carsten99, June 08, 2022, 10:18:06 AM

Previous topic - Next topic
Hello,

I have to modify named.conf of the bind plugin manually.
My changes works great but after a reboot or a save through the GUI my changes are gone.

Is there a way to modify the named.conf? Do I have to modify a template file?

I am sorry for this silly question, but I did not found anything.

thanks
regards
carsten

Hello,

found by myself.

I modified the template file
/usr/local/opnsense/service/templates/OPNsense/Bind/named.conf.

And it works.

thanks
regards
carsten

This will be overwritten by the next update. Just saying ;)
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

If you want to use a plugin to add a feature please raise an issue on GitHub and if not please use persistent overrides or avoid using the plugin or build your own that doesn't conflict with updates.

So many options. ;)


Cheers,
Franco

What precisely do you need to add? Perhaps I can go ahead and add it to the code ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)