- Server operating system version
- CentOS Linux 7.9.2009 (Core)
- Plesk version and microupdate number
- Version 18.0.54 Update #4
I have a script running some 4 years which removes a TXT-record and then adds a new one.
It used the syntax:
/usr/local/psa/bin/dns --del ${DOMAIN} -txt '' -domain ${SUBDOMAIN}
Notice the double single quotes.
I never gave it the TXT-value, but still the record was removed. I never tested if it removed all of them.
Now all of a sudden I have to add the TXT-value as well.
I already adapted my script to this new behaviour, but I don't think it should have been changed.
Isn't it more powerful to delete all subdomains when an empty string is given?
It used the syntax:
/usr/local/psa/bin/dns --del ${DOMAIN} -txt '' -domain ${SUBDOMAIN}
Notice the double single quotes.
I never gave it the TXT-value, but still the record was removed. I never tested if it removed all of them.
Now all of a sudden I have to add the TXT-value as well.
I already adapted my script to this new behaviour, but I don't think it should have been changed.
Isn't it more powerful to delete all subdomains when an empty string is given?