Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
domainepublic
alternc
Commits
e3579512
Commit
e3579512
authored
Jul 22, 2013
by
Alan Garcia
Browse files
Hook de reload DNS avant le rndc reload
parent
49327414
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/functions_dns.sh
View file @
e3579512
...
...
@@ -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
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment