• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs PLESK BIN DNS fails

tkalfaoglu

Silver Pleskian
TITLE:
PLESK BIN DNS fails
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
OS ‪CentOS Linux 7.6.1810 (Core)‬

Product Plesk Onyx
Version 17.8.11 Update #39, last updated on Feb 9, 2019 03:31 AM

PROBLEM DESCRIPTION:
The following command should work according to its documentation:

plesk bin dns --set abc.com -list "TXT,,v=spf1 mx a ip4:1.2.3.4 ip4:1.2.5.4/29 ?all;"

(domain and IP's modified)
But it returns a:
Domain has no NS DNS record.

exit status 1

error instead. The abc.com does exist, its DNS is enabled and primary.​
STEPS TO REPRODUCE:
Enter the plesk bin dns command to set the SPF from the CLI​
ACTUAL RESULT:
plesk bin dns command returns error​
EXPECTED RESULT:
plesk bin dns command should have updated the TXT record of abc.com​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 
dns: DNS Zones on Domains.
According to the documentation, plesk bin dns --set removes all pre-existing resource records from a domain's DNS zone and adds the specified ones, which is not suitable for this usecase.
To update the DNS record, remove it using plesk bin dns --del and then add the new one using plesk bin dns --add.
 
Back
Top