Can't Add IP Address Ending in .0?

I just spooled up a server with our datacenter provider. I logged into the server via ssh, everything fine.

Went to add a CNAME record in Cloudflare and to my surprise got the following message:

DNS Validation Error (Code: 1004) Content for CNAME record is invalid.

In my case, I’m 99.9% sure that the reason for this message is because the IP address that our server got ends in .0. e.g.


This is a valid IP address and it’s not referencing the broadcast domain in this case. It’s real. It works. You can connect to it, but Cloudflare can’t add a record for it.


Regardless of what the IP address is, CNAMEs don’t contain them. Create an A record instead.


You know it’s funny. I’ve been doing this for 15 years and very much know the difference between a CNAME and an A record.

And yet, here I was trying to put an IP address into a CNAME record. Amazing. Glad I didn’t break anything yesterday, given the level of failure doing something like this is. :man_facepalming:

Thanks @michael for setting me straight!


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.