Community Forums
Connect with us on LinkedIn
Dns
  
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default Dns

    Hello,
    Is posible a simple dns manager implementation on cpanel for a and cname records and to be available thought api.

    Thank you.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by paulipv View Post
    Hello,
    Is posible a simple dns manager implementation on cpanel for a and cname records and to be available thought api.

    Thank you.
    One way to implement this would be to create a cPanel Plugin so you have a separate screen to review/edit DNS entries.

    However, your script will need to use the XML API and authenticate itself as a reseller or root user to retrieve and set/edit the DNS entries as cPanel users natively don't have privileges to that functionality.

    Version 11.25 will introduce many new DNS functions to make building such a plug-in easier. You can find the documentation for the XML API including the version 11.25 DNS functions at: XmlApi < AllDocumentation/AutomationIntegration < TWiki

  3. #3
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default

    You have for me a date when 11.25 will be release?

  4. #4
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default

    Btw, dont forget to add on 11.25
    DelZoneRecord API function

    And about EditZoneRecord
    https://example.com:2087/xml-api/edi...ne=2&ttl=86400

    Line=2
    is not posible to find by using the host name ?

    if we are using an external DNS panel, will give us a lot of work to find
    the line.

    For example

    host1 IN A 1.1.1.1
    host2 IN A 2.2.2.2

    request:
    example.com:2087/xml-api/editzonerecord?domain=example.com&host=host1&newip=newipaddress

  5. #5
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default

    I think you are gonna use the "Line parameter"
    because of other edit options
    Like refresh, ttl, etc.

    However i think you can get a 2nd sollution for this

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by paulipv View Post
    You have for me a date when 11.25 will be release?
    There is no ETA on 11.25, though you can experiment with these functions in the EDGE build.

  7. #7
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by paulipv View Post
    Btw, dont forget to add on 11.25
    DelZoneRecord API function
    See: DeleteDNSZone < AllDocumentation/AutomationIntegration < TWiki


    And about EditZoneRecord
    https://example.com:2087/xml-api/edi...ne=2&ttl=86400

    Line=2
    is not posible to find by using the host name ?

    if we are using an external DNS panel, will give us a lot of work to find
    the line.

    For example

    host1 IN A 1.1.1.1
    host2 IN A 2.2.2.2

    request:
    example.com:2087/xml-api/editzonerecord?domain=example.com&host=host1&newip=newipaddress
    You can use the dumpzone function to retrieve all the DNS records for a DNS Zone:

    ListOneZone < AllDocumentation/AutomationIntegration < TWiki

  8. #8
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default

    And how can i delete a host?

  9. #9
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by paulipv View Post
    And how can i delete a host?
    You mean deleting an entire DNS Zone or just 1 DNS record?

  10. #10
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default

    Just 1 record.

  11. #11
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by paulipv View Post
    Just 1 record.
    I have spoken with our QA team member that handles our APIs about having this functionality added in 11.25. You are correct in your assessment that there is currently no way via our APIs to delete just 1 record.

  12. #12
    Member
    Join Date
    Jul 2009
    Posts
    19

    Default

    Thank you for your support.

    1. cpanel its really the best hosting software around the world.
    2. you are to great guys, best support EVER.

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 01-18-2010, 10:11 PM
  2. cPanel DNS Cluster & Slow WHM DNS Pages
    By Dakaix in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-06-2009, 12:02 AM
  3. DNS Reports showing major error on remote dns server
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-26-2007, 07:56 PM
  4. Delete DNS re-create DNS bug - affects cPanel and Email
    By rsaylor in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-16-2006, 07:37 PM
  5. DNS Caching Problem (TTL Issue) - Any DNS gurus want to comment?
    By PeteC in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-05-2004, 12:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube