WHM DNS Functions -> Add/Delete DNS Zone hooks, are there any ?

Nautilus

Registered
Mar 13, 2014
1
0
1
cPanel Access Level
Root Administrator
I am searching way to hook WHM Zone add and delete operations.
Information I need is which zone is added or removed. There is quite
easy way to do this for addondomain in cPanel (Cpanel::Api2::AddonDomain::addaddondomain).
I wonder if there is any similar hook system for WHM zones ?
Or is there any other way to detect when zone is added or removed ?
Or, is it even impossible without being "official" cPanel developer?
I am using the latest version of WHM&cPanel.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Standardized hooks and hookable events are documented here:

Standardized Hooks
cPanel - Hookable Events

Could you elaborate a little more on what action you want to occur when a zone is added or deleted? This might generate more user-feedback on the thread.

Thank you.