• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is 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.

Forwarded to devs CLI command can't delete record

mr-wolf

Silver Pleskian
Plesk Guru
TITLE:
CLI command can't delete record​
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
‪CentOS Linux 7.4.1708 (Core)‬ / Plesk Onyx Version 17.8.6​
PROBLEM DESCRIPTION:
The command to remove an SRV record doesn't work anymore in Plesk 17.8.6
Recently a change has been made to make an empty target possible (upon my request).

I noticed this because a script was suddenly not working anymore after migrating.

It can't delete any SRV-record
Not even those with a "0.0.0.0" target.​
STEPS TO REPRODUCE:
/usr/local/psa/bin/dns --add abcd.com -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3s -srv-target-host ""
SUCCESS: Creation of DNS record in Domain 'abcd.com' complete.

/usr/local/psa/bin/dns --del abcd.com -srv "" -srv-priority 0 -srv-weight 0 -srv-port 0 -srv-protocol tcp -srv-service pop3s -srv-target-host ""
Unable to del record in DNS server: unable to find DNS record​
ACTUAL RESULT:
The record is added, but fails to delete it.​
EXPECTED RESULT:
The record is added and deleted​
ANY ADDITIONAL INFORMATION:
​
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug​
 
Strange, not reproduced on 17.5.3 Update #25.
Ok. Forwarded to developers. Thanks.
 
No, but the fix that makes it possible to have an empty target isn't implemented on 17.5.3 either.
I was surprised too....
Especially because the GUI has no problem deleting these records.
I would think it makes use of these CLI-commands as well, but I do not know...
 
Bug was confirmed and submitted by developers as PPPM-7261. Thanks.
 
Back
Top