The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'cPanel Developers' started by Nautilus, Mar 13, 2014.

  1. Nautilus

    Nautilus Registered

    Joined:
    Mar 13, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page