Commit e3579512 authored by Alan Garcia's avatar Alan Garcia
Browse files

Hook de reload DNS avant le rndc reload

parent 49327414
......@@ -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
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment