Problem Description
- You're verifying a mail service like Klaviyo, ConvertKit, Mailchimp, or another ESP and they've requested you add CNAME records to validate your domain.
- You receive an error message saying: Warning: The canonical name <the subdomain you just added>. does not resolve to an A or AAAA record.
Problem Resolution
What do I need to fix?
Nothing, no changes are needed: you've likely entered everything correctly! Please wait 5-30 minutes and attempt to verify the domain with your ESP, they should pick up the records and validate the domain without trouble. If they do not, please double-check the added records and verify with the 3rd party service that they have provided the correct information.
Why did this happen then?
This is the DNS system in Plesk doing its job warning you about potential problems. Sadly these 3rd parties are all using CNAMEs for this purpose when they reallly should be using TXT records. A CNAME is supposed to point to another name that itself points to an IP.
Plesk is warning you that the CNAME record you have added points to another DNS name that itself is supposed to point an IP address, but does not. Here's an example:
sub.mydomain.com =CNAME=> sub.klaviyo.com =TXT/MX=> mx.klaviyo.com
The problem there, according to the DNS specifications, is that the final record (mx.klaviyo.com) should be an IP address, not a name.
But, we have no control over the incorrect things 3rd parties do with their DNS, so if this is how they want you to do it, this is how it must be done.