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: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.
/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: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
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