Hook de reload DNS avant le rndc reload

This commit is contained in:
Alan Garcia 2013-07-22 13:49:40 +00:00
parent 4932741460
commit e357951246
1 changed files with 3 additions and 2 deletions

View File

@ -169,8 +169,9 @@ dns_regenerate() {
# Add it to named conf
dns_named_conf $domain
# Kindly bind to reload the zone
$RNDC reload $domain
# Hook it !
run-parts --arg=dns_reload_zone --arg="$domain" /usr/lib/alternc/reload.d
# Kindly bind to reload the zone
$RNDC reload $domain
}