• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Question Editing the DNS template via cli

Dave W

Regular Pleskian
Greets,

How to delete a record from the DNS template via CLI?

Can see how to add/edit but cant see how to remove a record.

Cheers
Dave
 
Hey Igor,

Thanks, read that, but I dont see a plesk bin server_dns --remove or plesk bin server_dns --delete functionality or did I miss something?

Am old and tired :D
Dave_W
 
You can't delete one record, you can only replace all records using --set command. When setting new records, all previous records will be removed.
 
Back
Top