I am playing around this HestiaCP, learning how all it’s interactions work.
I have created templates to create DNS. Using external DNS, and utilize rndc to synchronize the data which is working perfectly fine. What I am trying to figure out now is when a domain is removed, is there a trigger script that can be called, so i can delete the zone? I’ve been searching on here, and looking quickly at the code base and I can’t seem to find any template-based approach to do it.
I am hoping I am simply missing something very obvious, otherwise how could I go about this approach without having to call additional commands (I prefer not to involve external calls, but if that is the only option I will have to look into it.)