3 ms·
I'm curious, why do you ask your users to create an A entry for this? I think a CNAME/ALIAS entry to the domain of the service would be a safer choice in case y
by ThePhysicist 9y ago
I'm curious, why do you ask your users to create an A entry for this? I think a CNAME/ALIAS entry to the domain of the service would be a safer choice in case you should be forced to change your IP address (e.g. if you change your hosting provider), which would currently force all your users to update their A entries. Also, using a CNAME domain would allow you to hide your IP address behind a CDN service like Cloudflare, which can be handy sometimes (e.g. for DDoS protection).
- ShakataGaNai 9y agoDNS spec doesn't support CNAME on the Apex record (ex your domain sans www). Alias isn't commonly supported by a lot of services yet either.
- majewsky 9y agoI saw this as well when using a self-owned domain with Github Pages. Any idea why the spec forbids it?
- rdslw 9y agohttp://bfy.tw/Dabs http://bfy.tw/Dabs
- bluejekyll 9y agoIt's mostly due to ambiguity. Think of it like a directory, you can't have a file with the same name as a directory in a path, because operations on that name and path become ambiguous. Zone SOAs are very much like directories on a filesystem.
- ThePhysicist 9y agoI think with Cloudflare it's possible, at least I'm pretty sure I did it with sites before using the "@" record (I could be wrong of course).
- ShakataGaNai 9y agoYes. Cloudflare does allow ALIAS style records. But in the case of Cloudflare you're actually changing your DNS over to their system. The original submission was about just making two changes to whatever the existing DNS server was you had.