Revert "hooks/update-zone: add command to reload pdns-recursor zones"

This reverts commit 1e67ccaf9d.

Conflicts:
	hooks/update-zone
This commit is contained in:
Jörg Thalheim 2015-01-18 18:24:23 +00:00
parent b1bb4a9bd5
commit 1ceb5f8946

View File

@ -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