• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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