opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
136 stars 34 forks source link

rndc.key #160

Closed dmgeurts closed 3 years ago

dmgeurts commented 3 years ago

I see that extra DNS records can be included from a web server. But is there a way to include "allow-update { key rndc-key; };" for zones to allow ddns?

For example:

zone "test.local" in {
  type master;
  file "/opt/ona/etc/bind/zone_data/named-test.local";
  allow-update { key rndc-key; };
};

Thanks,

mattpascoe commented 3 years ago

Sorry, somehow I totally missed this issue when you opened it.

At this time there is not a provision for adding extra information into the zone level configuration. However, if you wanted that allow-update setting on ALL of your zones, it would be a pretty simple add to the zone configuration script to just always print that line.

You could add it on this line