opennetadmin / build_bind

OpenNetAdmin plugin to manage and build BIND DNS server configurations
13 stars 13 forks source link

Added remote footer functionality #10

Closed jaydio closed 9 years ago

jaydio commented 9 years ago

The remote footer support is a workaround for the fact that ONA still isn't capable of handling external references in terms of DNS records.

Remote footers can be enabled by using the option "-t". For each domain on the name server the build_bind script will check for an available footer file on a web server. Instructions are included with the README file.

jaydio commented 9 years ago

Well, I see your point in not having to touch the file system twice. In fact I did this being able to debug the zone files if ever a script run fails. As far as I can tell it's a common practice to use mktemp and since it's part of the coreutils (and quite a few system scripts) it'll certainly work on majority of platforms. Perhaps we just leave it this way for the moment?

jaydio commented 9 years ago

Sorry, didn't use a branch for my latest changes. I've also added functionality for a local config incl. an external config template. Also fixed some more glitches within the documentation. Still not perfect though. Just check it out.

mattpascoe commented 9 years ago

I merged your changes in. Looks good so far. One thing we should do is also update the plugin_version file to 1.6 so it reflects the change in the GUI (kinda horrible I have two spots for versions but it it what it is).