diff --git a/src/functions_dns.sh b/src/functions_dns.sh index 8f81e313..7ec2f602 100755 --- a/src/functions_dns.sh +++ b/src/functions_dns.sh @@ -76,7 +76,7 @@ dns_named_conf() { # (the zone file is already created and populated) $RNDC reconfig # Hook it ! - run-parts --arg=dns_reconfig /usr/lib/alternc/reload.d + run-parts --arg=dns_reconfig --arg="$domain" /usr/lib/alternc/reload.d fi } @@ -104,7 +104,7 @@ dns_delete() { # Ask the dns server for restart $RNDC reconfig # Hook it ! - run-parts --arg=dns_reconfig /usr/lib/alternc/reload.d + run-parts --arg=dns_reconfig --arg="$domain" /usr/lib/alternc/reload.d } # DNS regenerate