- Plesk for Linux
- Plesk for Windows
Unable to create a DNS record with the underscore symbol "_". The following error appears in Plesk:
PLESK_ERROR: The specified domain name is not valid. You need to specify a valid domain name like domain.com.
According to RFC 1035, underscore symbol is not a part of 'Preferred name syntax', which means that it is not allowed. There is no guarantee it will work properly. Plesk bug with ID #PPPM-4301
- Use names according to Preferred name syntax.
Create a DNS record via command line:
1. Connect to the server via SSH/RDP.
2. Run the following command:
# plesk bin dns --add example.com -cname _sample -canonical example.org
Replace example.com with the appropriate domain name.
After doing that this record will appear in Domains > example.com > DNS Settings.