Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin
« previous
next »
Print
Pages: [
1
]
Author
Topic: manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin (Read 1050 times)
Carsten99
Newbie
Posts: 14
Karma: 0
manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin
«
on:
June 08, 2022, 10:18:06 am »
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
«
Last Edit: June 08, 2022, 11:56:05 am by Carsten99
»
Logged
Carsten99
Newbie
Posts: 14
Karma: 0
Re: manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin
«
Reply #1 on:
June 09, 2022, 10:37:56 am »
Hello,
found by myself.
I modified the template file
/usr/local/opnsense/service/templates/OPNsense/Bind/named.conf.
And it works.
thanks
regards
carsten
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin
«
Reply #2 on:
June 09, 2022, 12:09:00 pm »
This will be overwritten by the next update. Just saying
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin
«
Reply #3 on:
June 09, 2022, 12:16:41 pm »
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
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin
«
Reply #4 on:
June 09, 2022, 01:10:08 pm »
What precisely do you need to add? Perhaps I can go ahead and add it to the code ...
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
manual changed named.conf will be replaced after Reboot or GUI Save bind-plugin