- Plesk for Linux
- Plesk for Windows
Note: This article has the reference to the issue with the fix available:
Unable to create a CNAME DNS record with the underscore symbol "_" in Domains > example.com > DNS Settings > Add Record > CNAME:
PLESK_ERROR: The specified domain name is not valid. You need to specify a valid domain name like domain.com.
This is a Plesk bug with ID PPPM-4301, which has been fixed in Plesk Onyx 17.5 Update 46 and later versions.
Upgrade Plesk to the latest release:
Alternatively, create a DNS record via a command-line interface:
Run the command below. Replace values in bold with actual values:
# plesk bin dns --add example.com -cname _sample -canonical example.org
Once done, the record will appear in DNS Setting of a domain in Domains > example.com > DNS Settings