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.

API for Private Nameservers

Discussion in 'cPanel Developers' started by vivekvsist, Feb 12, 2009.

  1. vivekvsist

    vivekvsist Active Member

    Joined:
    May 29, 2007
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    I was developing an application and I want to give my resellers the permission to update their own nameservers.

    There is no XML API for this function as far as I know.

    I tried to post the information like this

    /scripts2/editressv?res=reseller&ns1=$ns1&ns2=$ns2

    This is working , I can see that the nameservers are changed, but the permissions have been removed ( ACL )

    Any way to accompish this ?
     
  2. britsenigma

    britsenigma Well-Known Member

    Joined:
    Dec 14, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    No Idea if Cpanel have an API implementation, but there's nothing to stop you creating zones via a shell script or something similiar.
     
  3. vivekvsist

    vivekvsist Active Member

    Joined:
    May 29, 2007
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    I just did it in this manner

    created reseller
    added ACL

    edited private nameservers
    added new private nameservers
    added ACL again
     
Loading...

Share This Page