Username:
TITLE
XML-RPC doesn't return TTL for DNS records
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk version 18.0.39
PROBLEM DESCRIPTION
Plesk supports modifying TTL values for individual since version 18.0.31, however but this isn't available for the XML-API yet. This isn't a bug (obviously), but rather a lacking feature of core functionally in the XML-API (imho). Since the REST API doesn't seem to support adding DNS records to a domain (yet), it would be useful to have TTL supported in the RCP-XML api.
STEPS TO REPRODUCE
Body for XML-RCP API
ACTUAL RESULT
XML Response
EXPECTED RESULT
XML Response
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out
TITLE
XML-RPC doesn't return TTL for DNS records
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Plesk version 18.0.39
PROBLEM DESCRIPTION
Plesk supports modifying TTL values for individual since version 18.0.31, however but this isn't available for the XML-API yet. This isn't a bug (obviously), but rather a lacking feature of core functionally in the XML-API (imho). Since the REST API doesn't seem to support adding DNS records to a domain (yet), it would be useful to have TTL supported in the RCP-XML api.
STEPS TO REPRODUCE
Body for XML-RCP API
XML:
<packet><dns><get_rec><filter><dns-zone-name>example.com</dns-zone-name></filter></get_rec></dns></packet>
ACTUAL RESULT
XML Response
XML:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.9.1">
<dns>
<get_rec>
<result>
<status>ok</status>
<id>1</id>
<data>
<site-id>302</site-id>
<type>CNAME</type>
<host>www.example.com.</host>
<value>example.com.</value>
<opt></opt>
</data>
</result>
</get_rec>
</dns>
</packet>
EXPECTED RESULT
XML Response
XML:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.9.1">
<dns>
<get_rec>
<result>
<status>ok</status>
<id>1</id>
<data>
<site-id>302</site-id>
<type>CNAME</type>
<host>www.example.com.</host>
<value>example.com.</value>
<ttl>1800</ttl>
<opt></opt>
</data>
</result>
</get_rec>
</dns>
</packet>
ANY ADDITIONAL INFORMATION
(DID NOT ANSWER QUESTION)
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Help with sorting out