3

我在使用 firebase 托管验证 namecheap 域时遇到问题

尝试按照此帖子说明操作但未成功: Unable to Verify Custom Domain with Firebase Using Namecheap 和此 添加自定义托管域:“发现意外的 TXT 记录。继续关注更改。”

所以我的定义是这样的:

Type: TXT Record
Host: @
Value: globalsign-domain-verification=...
TTL: Automatic

Type: TXT Record
Host: @
Value: firebase=mydomain.info
TTL: Automatic

Type: CNAME Record
Host: www
Value: myprojectname.firebaseapp.com.
TTL: Automatic

Type: A Record
Host: @
Value: First IP Address retrieved with MXToolbox
TTL: Automatic

Type: A Record
Host: @
Value: Second IP Address retrieved with MXToolbox
TTL: Automatic

当我执行“dig -t txt +noall +answer mydomain.info”时,它返回:

mydomain.info.      1798    IN  TXT "globalsign-domain-verification=..."
mydomain.info.      1798    IN  TXT "firebase=myprojectname"

(它在域末尾有一个额外的点)

但仍然在 firebase 仪表板中,我收到以下消息:

Verifying ownership
Unexpected TXT records found. Continuing to watch for changes.

and later:

Verification failed
Couldn't find the correct TXT records in your DNS records

我试图解决这个问题好几天了。

4

4 回答 4

2

在超过 24 小时没有验证我的域并尝试了很多事情之后,我最终删除了[projectname].firebaseapp.com. 几分钟后,它验证没有问题。

这些是他们希望您执行的步骤:

  • 只有 TXT 记录用于验证。
  • 验证后,添加两条A Record。

这就是我所做的:

  • 添加TXT记录和两条A记录。
  • 获得证实

希望这可以帮助。我向 firebase 提交了一张票,建议他们修改说明以明确您不能将 CNAME 放入您的项目 URL中。

于 2018-07-04T20:43:41.807 回答
1

强烈建议您联系 Firebase 支持。我有一个类似的问题持续了好几天,直到他们在幕后手动干预后才解决。祝你好运...

于 2016-12-13T15:43:52.063 回答
1

我面临着同样的问题。我在主机中使用了 @ 而不是域,它起作用了。我正在使用免费计划。

于 2020-11-11T13:00:10.127 回答
0

始终确保您使用的是付费版本的 Firebase。如果您使用免费帐户,则不会验证域。为了验证我的新项目,我不得不降级我的一个旧项目。显然,firebase 只允许将一定数量的项目升级为 blaze 计划。我希望这有帮助。

于 2020-01-20T18:33:45.230 回答