• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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