简体   繁体   English

Google Cloud Storage:删除 TXT 验证

[英]Google Cloud Storage: Removing TXT verification

I have a firebase project which uses its Firebase Storage feature.我有一个 firebase 项目,它使用其 Firebase 存储功能。 Now I have a requirement where the download URL should be from our own domain instead of storage.googleapis.com.现在我有一个要求,下载 URL 应该来自我们自己的域而不是 storage.googleapis.com。

So in order to achieve that, I created a bucket with my own domain namely file.mydomain.com.因此,为了实现这一点,我用自己的域创建了一个存储桶,即 file.mydomain.com。 During the bucket creation, domain verification required where I verified it by creating TXT in my domain DNS config.在存储桶创建期间,我通过在我的域 DNS 配置中创建 TXT 来验证域验证。

After verification completed, I need to add CNAME that points to storage.googleapis.com.验证完成后,我需要添加指向storage.googleapis.com的CNAME。 Since DNS does not allow TXT and CNAME of the same domain (file.mydomain.com) at the same time, I deleted the TXT before creating the CNAME.由于DNS不允许同一个域(file.mydomain.com)的TXT和CNAME同时存在,所以我在创建CNAME之前删除了TXT。 Everything works now, I can download my file from http://file.mydomain.com/myfile .现在一切正常,我可以从http://file.mydomain.com/myfile下载我的文件。

My question is, will it be alright that I deleted the TXT file?我的问题是,我删除TXT文件可以吗? Will google do checking and trigger reverification?谷歌会检查并触发重新验证吗?

Thanks!谢谢!

The TXT file record is for verification purposes. TXT 文件记录用于验证目的。 According to these answer1 , answer 2 from Google Support is one-time verification, and once it has been verified, then it's safe to delete it.根据这些answer1 ,Google Support 的answer 2是一次性验证,一旦验证通过,就可以安全地删除它。

Note: You can remove the TXT record, but not the MX records.注意:您可以删除 TXT 记录,但不能删除 MX 记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM