TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

I was losing emails for years without knowing

15 点作者 pedrokost超过 8 年前

5 条评论

quigbo超过 8 年前
What the author refers to as a &quot;naked domain&quot; is more generally termed the zone apex.<p>A CNAME does not co-exist with other records (save for RRSIGs if the zone is signed). Quoting RFC 1034:<p><i>If a CNAME RR is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different. This rule also insures that a cached CNAME can be used without checking with an authoritative server for other RR types.</i><p>The rational for CNAME was originally to provide a temporary pointer to a new name. It&#x27;s in vogue to use it as the author has done as a kludge for find-my-A&#x2F;AAAA-record-here, and it is mostly a fit for trivial use cases, but it is only a partial solution.<p>Some argue that a standardized ANAME&#x2F;ALIAS record is needed to suit the needs of the modern DNS. I agree but I also think it&#x27;s time to consider how we might better allow SaaS providers to maintain records on behalf of users more directly. Doing so would take the burden off of users like the author to understand and correctly maintain DNS records, and allow SaaS providers more nimble and fine-grained control of the customer records for rebalancing load and the like.
svennek超过 8 年前
Sorry, but redirecting the naked domain seems like the wrong way. The correct way is getting both the naked and www domain set up on the serving host. Then either CNAME or A record the www to the naked... And if needed let the naked domain redirect to the wwww itself.<p>Three simple steps, and should be universally implementable....
wattt超过 8 年前
Interesting findings! I&#x27;ve had trouble with DNS providers and it is always with the root or &quot;@&quot; domain. As a Bind administrator it drives me mad how they make things complex unnecessarily to save me from myself, often resulting in failed switch-overs, and a 2x wait on DNS updates.
worldadventurer超过 8 年前
This is a nice unexpected benefit of using Cloudflare to manage our DNS: they automatically flatten your apex&#x2F;naked domain as well as the www subdomain (if you set them up using CNAMEs in their DNS manager).
bartl超过 8 年前
It&#x27;s nice for him that he found out what was wrong with it, but I am still none the wiser.
评论 #13390571 未加载