- Plesk for Linux
- Plesk for Windows
When adding an A record that includes an underscore symbol '_' in Plesk at Domains > example.com > Hosting & DNS > DNS Settings, the following message appears:
PLESK_ERROR: The specified domain name is not valid. You need to specify a valid domain name like domain.com.
Underscore characters are not permitted in domain names according to RFC 1035. Only letters, digits, and hyphens are allowed. Even though some DNS servers allow the use of underscores (e.g. Windows DNS Manager) with the records below, such configuration is not possible:
NS / A / AAAA / MX / AXFR / CAA
Underscores can be used with CNAME, SRV, TXT, DS records.
As a workaround, create a CNAME record instead of an A record.