Hello,
Is posible a simple dns manager implementation on cpanel for a and cname records and to be available thought api.
Thank you.
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
You have for me a date when 11.25 will be release?
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
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![]()
See: DeleteDNSZone < AllDocumentation/AutomationIntegration < TWiki
You can use the dumpzone function to retrieve all the DNS records for a DNS Zone:
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
ListOneZone < AllDocumentation/AutomationIntegration < TWiki
And how can i delete a host?
Just 1 record.
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.