API to get TTL of a zone

Version 1.38

Feature
Finished

Return the TTL value of a zone. CMD_API_DNS_CONTROL?domain=domain.com&urlencoded=yes&ttl=yes Will return the standard output from the urlencoded=yes listed here: http://www.directadmin.com/features.php?id=626 plus will add a line at the bottom for the TTL: TTL=14400 It will be 14400 unless there is an override set in the data/users/domains/domain.com.conf. The zone itself isn't parsed.

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