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.

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