Firebase:无法验证Namecheap域的所有权



我在用firebase托管验证namecheap域

试图遵循此帖子说明而没有成功: 无法使用namecheap使用Firebase验证自定义域 和这个 添加自定义托管域:找到"意外的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 noall noth 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

我正在尝试几天解决这个问题。

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

这些是他们想要您做的步骤:

  • 仅具有验证的TXT记录。
  • 验证后,添加两个记录。

这就是我所做的:

  • 添加TXT记录和两个A记录。
  • 得到验证

希望这会有所帮助。我提交了一张前往Firebase的票,建议他们修改说明,以明确说明您无法将CNAME放入您的项目URL

强烈建议您联系Firebase支持。我遇到了几天的类似问题,只有在他们手动介入幕后之后,我才解决了这一问题。祝你好运...

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

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

最新更新