Revert "hooks/update-zone: add command to reload pdns-recursor zones"
This reverts commit 1e67ccaf9d
.
Conflicts:
hooks/update-zone
This commit is contained in:
parent
b1bb4a9bd5
commit
1ceb5f8946
@ -67,7 +67,7 @@ def main
|
|||||||
atomic_write(*reverse_zone(json, json["zone"]["v6_subnet"]))
|
atomic_write(*reverse_zone(json, json["zone"]["v6_subnet"]))
|
||||||
atomic_write(CONTAINER_DATA, JSON.pretty_generate(json))
|
atomic_write(CONTAINER_DATA, JSON.pretty_generate(json))
|
||||||
|
|
||||||
system("lxc-attach", "-e", "-n", DNS_CONTAINER, "--", "rec_control", "reload-zones")
|
system("lxc-attach", "-n", DNS_CONTAINER, "--", "rndc", "reload")
|
||||||
end
|
end
|
||||||
|
|
||||||
main
|
main
|
||||||
|
Loading…
Reference in New Issue
Block a user