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

时间:2016-12-13 12:27:55

标签: firebase dns firebase-hosting namecheap

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

  

试图按照此帖子说明但未成功:   Unable to Verify Custom Domain with Firebase Using Namecheap   还有这个   Adding custom hosting domain: "Unexpected TXT records found. Continuing to watch for changes."

所以我的定义是这样的:

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 个答案:

答案 0 :(得分:1)

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

答案 1 :(得分:0)

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

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

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

这就是我所做的:

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

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

答案 2 :(得分:0)

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

答案 3 :(得分:0)

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

相关问题