Re: Loading all zone files in a directory

2016-07-23 Thread Jan-Piet Mens
include /etc/nginx/conf.d/*.conf; Bind seems to lack an equivalent syntax. That means that even if I copy a self-contained zone file to the zones directory, I still have to manually register the zone in the named.conf.local file. That should be pretty trivial to template together with Ansible

Re: Loading all zone files in a directory

2016-07-23 Thread Danilo
Hi Matthew > You don't say in your email whether you've tested this, but it'd be fairly > easy to check. If that doesn't work, then no, there is no way to accomplish > what you want. (It seems to me this would be a fairly easy feature request to > grant... Mark?  Evan?) I just tested it, it

Re: Loading all zone files in a directory

2016-07-23 Thread Matthew Pounsett
On 23 July 2016 at 15:25, Danilo wrote: > Is there a way to get Bind to automatically include config files in a > directory? If not, might it make sense to place a feature request for > this with the Bind developers? If yes, what would the process be for > such a request? Or is

Loading all zone files in a directory

2016-07-23 Thread Danilo
I'm currently in the process of automating the deployment of a DNS server with Ansible[0]. Ansible allows the creation of so-called "roles", e.g. I can create a role "blog" that will deploy set up a database for a blog, install an nginx configuration and then reload the webserver. A role is