Adding domain to iCloud

I need to add my domain to my AppleID to use it as my e-mail address. But when I fill in the value of CNAME record, CloudFlare removes the last dot from it. How can I stop this behaviour? The iCloud won’t accept the shortened string. When I replace the dot with a letter it stays there, so it’s not about length of the string.
Was this page helpful?