Google Cloud Run / Does domain mapping supports ALIAS records?

和自甴很熟 提交于 2019-12-08 08:39:21

问题


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.


回答1:


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

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.

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 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.

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.



来源:https://stackoverflow.com/questions/56688274/google-cloud-run-does-domain-mapping-supports-alias-records

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!