• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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