• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question Plesk CLI: Show TTL for DNS records

pmg

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian 18.0.61.5
Hi there!

Is there a way to list DNS records for a selected domain with their TTL values?
 
You can query the Plesk database directly to get TTL values. Those are stored in the dns_zone and dns_recs tables of the psa database.

However, I advice against querying the Plesk database directly to get any data. As the database structure might change in future updates. If you're working on any kind of integration I strongly recommend to not access the database directly, but use the Plesk REST API, XML API or Plesk CLI utilities instead. Those are the safest methods to use.
 
There currently isn't.

You are welcome to add it as a feature suggestion on our UserVoice page though. Features that become popular might be considered for implementation into Plesk.
 
Back
Top