#1 (permalink)  
Old 07-02-2009, 02:38 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
Dns

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

Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-02-2009, 03:00 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
cPanelDavidG is on a distinguished road
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
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-02-2009, 03:08 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
You have for me a date when 11.25 will be release?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-02-2009, 03:13 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-02-2009, 03:18 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-02-2009, 03:37 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
cPanelDavidG is on a distinguished road
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.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-02-2009, 03:40 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by paulipv View Post
Btw, dont forget to add on 11.25
DelZoneRecord API function
See: DeleteDNSZone < AllDocumentation/AutomationIntegration < TWiki

Quote:

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
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-02-2009, 04:12 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
And how can i delete a host?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-02-2009, 04:17 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
cPanelDavidG is on a distinguished road
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?
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-02-2009, 04:42 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
Just 1 record.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 07-03-2009, 11:51 AM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,033
cPanelDavidG is on a distinguished road
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.
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 07-03-2009, 12:13 PM
Registered User
 
Join Date: Jul 2009
Posts: 19
paulipv is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change existing account's DNS to use my server's DNS after account creation gerk cPanel Newbies 1 03-06-2009 02:11 AM
DNS Reports showing major error on remote dns server DWHS.net cPanel and WHM Discussions 4 10-26-2007 08:56 PM
Delete DNS re-create DNS bug - affects cPanel and Email rsaylor cPanel and WHM Discussions 3 12-16-2006 08:37 PM
WHM - Account/DNS Issue (Invisible DNS Entries??) s.r. cPanel and WHM Discussions 8 08-27-2005 11:00 AM
DNS Caching Problem (TTL Issue) - Any DNS gurus want to comment? PeteC cPanel and WHM Discussions 1 07-05-2004 01:07 PM


All times are GMT -5. The time now is 09:49 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc