Google Cloud Run/域映射是否支持ALIAS记录? [英] Google Cloud Run / Does domain mapping supports ALIAS records?

查看:162
本文介绍了Google Cloud Run/域映射是否支持ALIAS记录?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于可以在heroku(通配符CNAME)上使用,可以使用单个ALIAS类型记录配置google cloud run吗?

As it can be available on heroku (wildcard CNAME's), can google cloud run be configured with a single ALIAS type record ?

@ 300 IN ALIAS ghs.googlehosted.com.

推荐答案

Google Cloud Run需要CNAME资源记录来验证自定义域.

Google Cloud Run requires a CNAME Resource Record to verify the custom domain.

Cloud Run自定义域不支持域通配符.您指定一个域名,Google会验证该域名.没有支持通配符的配置设置.

Cloud Run Custom Domains do not support domain wildcards. You specify a domain name, Google verifies the domain name. There are no configuration settings to support wildcards.

实际的DNS资源记录为A,AAAA和CNAME.但是,只要CNAME对于域验证是正确的,Cloud Run并不关心您设置的内容.

The actual DNS resource records are A, AAAA, and CNAME. However, Cloud Run does not care what you setup provided that the CNAME is correct for domain verification.

ALIAS记录不是DNS资源记录的标准类型.它们是特定于供应商的,就像CNAME一样,并且通常提供名称翻译的优化.它们还用于无法使用CNAME(区域顶点)的情况. Cloud Run没有此限制,因此不需要ALIAS记录.

ALIAS records are not a standard type of DNS Resource Record. They are vendor specific, act like a CNAME and usually provide optimization of name translation. They are also used in cases where a CNAME cannot be used (zone apex). Cloud Run does not have this limitation so ALIAS records are not required.

遵循Cloud Run在设置自定义域时指定的建议DNS配置. Google极有可能不支持其他任何功能.

Follow the recommended DNS configuration that Cloud Run specifies when setting up a custom domain. Anything else will most likely not be supported by Google.

这篇关于Google Cloud Run/域映射是否支持ALIAS记录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆