Closed LuisBL closed 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
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!
validate
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