• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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