systemli / ansible-role-bind9

Ansible role to install and maintain the Bind9 nameserver on Debian
GNU General Public License v3.0
24 stars 26 forks source link

question: does this role have a check syntax before restart mecanism #65

Closed LuisBL closed 1 year ago

LuisBL commented 1 year ago

does ansible-role-bind9 use a mecanism to check that the syntax zone is ok ? like:

named-checkzone mysite.com /etc/bind/zones/db.mysite.com

We had the bad experience to restart a bind9 server with brocken db.mysite.com syntax, bind was not restarting.

Regards

t2d commented 1 year ago

Hi. These checks are currently not implemented. However, it should be very easy to add your command as a validate statement to the corresponding tasks, for example. PRs very welcome!