bind: Add reload-zone helper
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2598|2|2596|4|:+1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/300//ansiblelint">Evolix » ansible-roles » unstable #300</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
William Hirigoyen 2023-07-21 16:19:26 +02:00
parent 030871ea9b
commit ef642e564e
2 changed files with 13 additions and 0 deletions

View file

@ -27,6 +27,7 @@ The **patch** part changes is incremented if multiple releases happen the same m
* fail2ban: add default variable fail2ban_dbpurgeage_default
* userlogrotate: add a userlogpurge script disabled by default
* evolinux-base: configure bashrc for all users
* bind: Add reload-zone helper
### Changed

12
bind/files/reload-zone Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
#
# Script utilitaire pour tester et recharger facilement un domaine dans Bind
# Usage : reload-zone <DOMAINE>
#
# TODO:
# - vérifier le serial
# - prendre en charge plusieurs
# - ajouter le script dans le role bind
named-checkzone "$1" /etc/bind/db."$1" && rndc reload "$1"