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.

CPanel Plugin - DNS replacement

Discussion in 'cPanel Developers' started by scorpiondi, Jan 28, 2012.

  1. scorpiondi

    scorpiondi Registered

    Joined:
    Jan 28, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I've been administering cpanel servers and, to improve the DNS reliability I've always trusted the DNS to an external source (namely, namecheap.com) which offers free DNS service with great functionality and redundancy in terms of servers. This reduces the need for a cluster of servers just for nameservers.

    Until now, I've always managed the dns manually outside the CPanel. What came to my mind was to develop a module (probably it doesn't exist yet) that would replace CPanel's DNS functions and, instead of changing the "local" DNS servers, it would communicate using namecheap's API (at least for starters, later it could implement communication with similar services provided they have a good API for this).

    Ideally, this module would be integrated with the already available DNS functions and be applied either server-wide or a simple configuration per user.
    I'm comfortable using Perl/Ruby/PHP - which do you think that would allow a better integration in cpanel?

    Can someone point me to a few starting points on how to develop such a plugin?
    Would love to hear some inside thoughts about this from the cpanel developers about the feasibility of such a feature.

    I'm open to develop this as an open-source plugin.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    From what I'm understanding, pluggable dnsadmin modules may be the way to get this done:

    Pluggable dnsadmin Modules

    You will need version 11.30 or later of cPanel&WHM to do this though.
     
  3. scorpiondi

    scorpiondi Registered

    Joined:
    Jan 28, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you David, that really seems like what I'm looking for. Looks like CPanel is more prepared for this feature than I thought.

    Is it possible to install like a development environment of CPanel?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    If you're looking to build software that works with cPanel&WHM, I recommend emailing our Customer Service team at cs@cPanel.net to explore possible options there. You will need to supply your own server though.
     
  5. scorpiondi

    scorpiondi Registered

    Joined:
    Jan 28, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you for your pointers David. I was able to acquire a free development version, great! Now, besides the developments planned, for many things I've been afraid to run in production vms, I'll be able to make a test-drive on the dev installation first. Didn't even know it existed.
    Another immediate idea is to improve Ruby Support through RVM!

    Anyone willing to support these developments feel free to contact me.
     
Loading...

Share This Page