Il 30/11/2022 11:36, Andrea Biancalani via Pdns-users ha scritto:
Il 28/11/2022 22:56, Michael Hallager via Pdns-users ha scritto:
On 2022-11-29 07:13, Andrea Biancalani via Pdns-users wrote:
Is there a way to select default zone type for a server instead
specify it everytime I enter a new zone in my master? I'd like to
pre-select type:master everytime instead asking for
native/master/slave options (with native pre-selected).
Are you using a DB backend? You could set a default value for the field.
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users
Yeah, I'm actually using MariaDB as backend. Do you know which field
contains that parameter?
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users
I found the solutions modifing html on powerdnsadmin folder, in my case
the complete path is the following
/opt/web/powerdns-admin/powerdnsadmin/templates/domain_add.html
change this
<div class="radio">
*<label>**
** <input type="radio"
name="radio_type" id="radio_type_native" value="native" checked>**
** Native**
** </label>*
<label>
<input type="radio"
name="radio_type" id="radio_type_master" value="master"> Master
</label>
<label>
<input type="radio"
name="radio_type" id="radio_type_slave" value="slave">Slave
</label>
</div>
into this
<div class="radio">
*<label>**
** <input type="radio"
name="radio_type" id="radio_type_native" value="native" >**
** Native**
** </label>*
<label>
<input type="radio"
name="radio_type" id="radio_type_master" value="master" *checked*> Master
</label>
<label>
<input type="radio"
name="radio_type" id="radio_type_slave" value="slave">Slave
</label>
</div>
restart the powerdns-admin service with
systemctl restart powerdns-admin.service
that's all.
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users