DNS CNAME Issue
I have a dedicated server with cPanel running on it. Currently, there are 4 domains with emails. On one of the domains, the HTTP requests will go to a site over on Amazon Web Services, but all emails for that single domain will remain on the server.
I was provided with the CNAME for Amazon, but when I try to create it in cPanel, I receive an error: "Unable to parse zone: Contains a malformed wildcard name: C*". I've altered some of the URL, for client security, but what was provided by Amazon is: C*.mydomain.com:gssb1-0000000.us-east-1.elb.amazonaws.com:86400
Any thoughts on how to add this CNAME to cPanel DNS settings?
-
Unfortunately, it's not possible to setup CNAME entries to point to ports. They can only point from hostname to hostname. Personally, I can't think of a logical route around it. Perhaps ask Amazon to provide you with a subdomain? EDIT: I was wrong. rhenderson's comment below should help. 0 -
[quote="omcreations, post: 1605671">I have a dedicated server with cPanel running on it. Currently, there are 4 domains with emails. On one of the domains, the HTTP requests will go to a site over on Amazon Web Services, but all emails for that single domain will remain on the server. I was provided with the CNAME for Amazon, but when I try to create it in cPanel, I receive an error: "Unable to parse zone: Contains a malformed wildcard name: C*". I've altered some of the URL, for client security, but what was provided by Amazon is: C*.mydomain.com:gssb1-0000000.us-east-1.elb.amazonaws.com:86400 Any thoughts on how to add this CNAME to cPanel DNS settings?
CNAME wildcards are "legal" as outlined in RFC 4592 (see
Basically escaping the * with "" [quote="LostNerd, post: 1605751">Unfortunately, it's not possible to setup CNAME entries to point to ports. They can only point from hostname to hostname. Personally, I can't think of a logical route around it. Perhaps ask Amazon to provide you with a subdomain?
I figured the 86400 was TTL, but your right if it is included in the string instead of the TTL that is not going to work. I think it is just the way it was written, it does look like a port. but I think it is TTL0 -
It's a late night for me. (Currently 02:25am) Naturally assuming everything is ports. (Network Admin here! -.-) 0 -
Escaping with "" didn't work. Still had the malformed wildcard. It looks like cPanel just doesn't support strings like that. I ended up going over to my domain registrar and added a CNAME on their records, which appear to be working perfect at this time. 0 -
I'm glad you've got it sorted one way or another however, we're you using cPanel's "Simple DNS Zone Editor" or did you use the DNS Zone Editor in WHM? You may have more luck via the latter. 0 -
Please feel free to submit a feature request if you would like the ability to use wildcard name CNAME entries (e.g. A*, B*, C*) when editing a DNS Zone: Submit A Feature Request Thank you. 0
Please sign in to leave a comment.
Comments
6 comments