Plesk for Windows
Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
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.
Cause
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
Resolution
Underscores can be used with CNAME, SRV, TXT, DS records.
As a workaround, create a CNAME record instead of an A record.
Comments
1 comment
RFC 1035 is superseded by the amendments of RFC 2181. RFC2181 states:
So, the limit on NS and MX records as explained in this support article, does not make sense. Then again, I am no RFC expert and may simply have a fundamental misunderstanding of how RFCs work.
Please sign in to leave a comment.