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 updating other (non-Cpanel) DNS servers

Discussion in 'cPanel Developers' started by bigpresh, Aug 17, 2007.

  1. bigpresh

    bigpresh Registered

    Joined:
    Aug 17, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,

    We're planning to deploy some Cpanel servers for hosting, but the domains will be served by our existing nameservers.

    We would like Cpanel to be able to do DNS updates (like adding sub-domains etc) but our existing systems need to also be able to modify DNS records, and need to be able to prevent certain changes.

    Basically, when Cpanel is adding a sub-domain, we need it to ask our systems to create that sub-domain, and our system to be able to tell Cpanel either "fine, done" or "no, you can't have that subdomain", and Cpanel handle it appropriately.

    Does anyone know of a good way to do this? Is there an existing plugin to make this kind of thing easy?

    We want to continue using our existing large set of nameservers, we cannot implement cPanel DNS-only.

    I've searched the forum and didn't find anything suitable.

    Any ideas anyone?

    Cheers

    Dave P
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Check this in the Tweak Settings page of your WHM panel:

    ** Application for processing dns requests. The default is to use cPanel Dns cluster system located at /usr/local/cpanel/whostmgr/bin/dnsadmin. (Recommended: leave blank to use the default).

    /usr/local/cpanel/whostmgr/bin/dnsadmin is a text perl script, so you can see the actions it needs to respond to.
     
  3. bigpresh

    bigpresh Registered

    Joined:
    Aug 17, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Perfect - that's where I need to be looking, thanks!

    Looking at the dnsadmin script, it automatically loads any plugins it finds in /usr/local/cpanel/Whostmgr/DnsAdmin

    I've been looking for any examples of plugins that have already been written, but haven't seen any.

    Anybody seen or written suitable Whostmgr:: DnsAdmin::* plugins to override the behaviour of dnsadmin?
     
    #3 bigpresh, Aug 28, 2007
    Last edited: Aug 28, 2007
Loading...

Share This Page