diff --git a/src/functions_dns.sh b/src/functions_dns.sh index c4a08441..54517226 100755 --- a/src/functions_dns.sh +++ b/src/functions_dns.sh @@ -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 }