Why does using a CNAME for a root domain work??

未关闭
#32 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
领域
networking

调研方向

Start by reading the issue body, its linked blog post, and the referenced screenshot to understand the root-domain CNAME setup. Done means providing a clear explanation of why this configuration works, including any relevant behavior by Hover or its DNS service; the issue names no repository files or tests.

由索引模型根据 Issue 内容生成。

描述

I have a lot of domains and I have to move servers fairly frequently and it's a pain having to go back and change all the IP addresses for the roots when the server moves.

I wrote about this on my blog, and someone responded that you can use a CNAME instead of an IP address. I said this is wrong, it doesn't work that way, but I wish it did.

Then he said you can in fact use a CNAME, and it works. So I tried it, and damn it did work.

Here's a screen shot of how I've set up one domain at hover.com, the registrar I use for most of my stuff. No IP addresses.

So what's up with this? I'm happy, but curious...

PS: I've cc'd this via email to the people at Hover to see if they have a comment. Maybe they do something nice on their DNS server, and convert it to an IP address when someone accesses the root of the domain. That would be the sensible thing to do imho. But I'm no expert at DNS by any means. ;-)

主要语言
HTML
星标
134
派生
10
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

scripting/Scripting-News 的其他 Issue

查看 scripting/Scripting-News 的全部 Issue

相似的 Issue

更多 Networking Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。