json for CMD_DNS_CONTROL CMD_DNS_MX

Version 1.514

Feature
Finished

Users can get their records via json, using: CMD_DNS_CONTROL?domain=domain.com&json=yes Output is the same as this: https://www.directadmin.com/features.php?id=1942 Note, you can also add: &ttl=yes to include the current ttl value in the json output. ---- The call to: CMD_DNS_MX?domain=domain.com&json=yes will again output the records[] array, but will also include: "internal": "yes" or "no" depending on if the "Local Mail Server" option is checked.

Interested to try DirectAdmin? Get a 30-day Free Trial!