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 11.24 DNS API - editdns missing

Discussion in 'Bind / DNS / Nameserver Issues' started by MeGaMASTER, Nov 6, 2008.

  1. MeGaMASTER

    MeGaMASTER Well-Known Member

    Joined:
    May 24, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    I was looking at the XML-API documentation but it looks like the editdns api call is missing.

    Please advise.
     
  2. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    Hello,
    There is currently no XML API call to edit DNS zones. We should be releasing one in the near future.


    Until that time, you can use the dump zone function to get the current contents of the zone, then the delete zone function to delete it. Then add the zone back with the changed information.

    Are you subscribed to the XML API mailing list? If so, you'll receive an update when Edit DNS Zone is available through the XML API. The link to sign up is below:

    http://mail.cpanel.net/mailman/listinfo/xmlapi_cpanel.net
     
  3. MeGaMASTER

    MeGaMASTER Well-Known Member

    Joined:
    May 24, 2003
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Correct me if I'm wrong but according to the XML API call for adddns, this is not even possible as it will only add a zone based on the standard zone template. Anyway thank you. :)
     
  4. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    You are correct. If you need non-standard values, you will need to edit the template in the meantime or edit the zone through WHM.
     
  5. manuki

    manuki Member

    Joined:
    Dec 18, 2007
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    This is great news. Any ETA on this one?

    If this is made, then the edit DNS at Cpanel feature would not be needed.
     
  6. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    We're hoping to release another round of calls with 11.25 and I'll push for this one to be a part of that release.
     
  7. jasonhk

    jasonhk Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Thanks :) I'm looking to start coding something using the DNS Edit API, when will 11.25 be available?
     
  8. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    Should be sometime between now and Dec 1st as long as we don't run into anything that pushes back the release.
     
  9. jasonhk

    jasonhk Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, please make sure it works properly with DNS Clusters, ie the same as WHM works, when you edit, it updated all the nodes. :)
     
  10. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The XML-API calls tie into the same functions that WHM (and cPanel) use.
     
  11. jasonhk

    jasonhk Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Hey Dave/Kennith

    Any updates on the 11.25 release?
     
  12. 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
    As 11.24 is still propagating through the builds (not yet at STABLE), it's still a bit premature to expect 11.25 at this time.

    However, feel welcome to keep an eye on http://changelog.cPanel.net to become aware of when this functionality becomes available. Our changelog is also available in RSS format, there's a link to it near the top of the page.
     
  13. kdoShaun

    kdoShaun Member

    Joined:
    Sep 8, 2008
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Dave,

    Sorry to ask the same ? again.
    But do you guys have a rough eta for this one, even for a release of the function into an edge build.

    Shaun
     
  14. 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
    It is being actively worked on but I don't have any ETA at this time.
     
  15. ShaneB

    ShaneB Registered

    Joined:
    May 19, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Still nothing?

    Bumping this question up, I know sometimes release dates get pushed back, but 6 months late on a point release?

    A guy could sure go for some Edit DNS API love here...
     
  16. DaveUsedToWorkHere

    DaveUsedToWorkHere Well-Known Member

    Joined:
    Dec 28, 2001
    Messages:
    689
    Likes Received:
    1
    Trophy Points:
    18
    We released the calls into EDGE in April:

    Added new XML-API calls: getzonerecord,addzonerecord,editzonerecord,suspendreseller,setresellerips,setresllermainip,setresellerpackagelimit,setresellerlimits


    You're welcome to test with them. They should be pushed into the next set of current, release, and stable builds pending testing.
     
  17. kdoShaun

    kdoShaun Member

    Joined:
    Sep 8, 2008
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    When can we expect some doco?
    Its awesome that we have the calls!
    But without some docs (param etc) we can't use them ;)

    Shaun
     
  18. jasonhk

    jasonhk Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Hey Dave,

    Thanks for that, could we please get an example of how to use the "editzonerecord" function.

    Thanks

    Found this :/

    edit : Ooo, I managed to edit an A record :)
    edit: Is there a command to restart the dns server?
    edit: nmv, /xml-api/restartservice?service=named
     
    #18 jasonhk, May 20, 2009
    Last edited: May 20, 2009
  19. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
  20. jasonhk

    jasonhk Well-Known Member

    Joined:
    Nov 11, 2005
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Awesome, thanks Nick :)
     
Loading...

Share This Page