Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

List of domains hosted or execute an external script on add or delete of domain.

Discussion in 'General Discussion' started by drmuey, Jul 22, 2003.

  1. drmuey

    drmuey Member

    Jun 10, 2003
    Likes Received:
    Trophy Points:
    I need to put an entry in a mysql database every time domain is added or deleted from WHM.

    Basically I need a list of domains that this cpanel server is doing dns for so I can put an entry in our other dns telling them to ask the cpanel server for it.

    I thought about parsing the named.conf file for the list once or twice a day and making sure it is in the database but that seems messy.

    Any body have any tricks on a better way to do it? Support Ticket Number: Support Ticket Number:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice