• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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