我在使用 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
我试图解决这个问题好几天了。