Hook de reload DNS avant le rndc reload
This commit is contained in:
parent
4932741460
commit
e357951246
|
@ -169,8 +169,9 @@ dns_regenerate() {
|
||||||
# Add it to named conf
|
# Add it to named conf
|
||||||
dns_named_conf $domain
|
dns_named_conf $domain
|
||||||
|
|
||||||
# Kindly bind to reload the zone
|
|
||||||
$RNDC reload $domain
|
|
||||||
# Hook it !
|
# Hook it !
|
||||||
run-parts --arg=dns_reload_zone --arg="$domain" /usr/lib/alternc/reload.d
|
run-parts --arg=dns_reload_zone --arg="$domain" /usr/lib/alternc/reload.d
|
||||||
|
|
||||||
|
# Kindly bind to reload the zone
|
||||||
|
$RNDC reload $domain
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue