简体   繁体   English

无法为 Google Cloud VM 的 IPv6 地址设置 PTR 记录

[英]Can't set PTR record for IPv6 address for Google Cloud VM

I have a Google Cloud Compute Engine VM, it has a public ipv4 IP and a public external ipv6 IP.我有一个谷歌云计算引擎虚拟机,它有一个公共 ipv4 IP 和一个公共外部 ipv6 IP。 In the console, I input the PTR record: blabla.mywebsite.com.在控制台中,我输入了 PTR 记录: blabla.mywebsite.com。 (the domain is already verified) both for ipv4 and ipv6 in the public DNS PTR record field, and ipv4 works normally, but ipv6 will return: (该域已验证)公共 DNS PTR 记录字段中的 ipv4 和 ipv6,并且 ipv4 正常工作,但 ipv6 将返回:

Invalid value for field 'resource.name': 'External IPv6'.字段“resource.name”的值无效:“外部 IPv6”。 Access config name is immutable.访问配置名称是不可变的。

screenshot of my config 1我的配置截图 1

screenshot of my config 2我的配置 2 的屏幕截图

Is that mean currently I can't add ptr records for an ipv6 IP?这是否意味着目前我无法为 ipv6 IP 添加 ptr 记录? or is there any wrong with my configuration?还是我的配置有问题?

It worked by running a gcloud command in Cloud Shell.它通过在 Cloud Shell 中运行 gcloud 命令来工作。

gcloud compute instances update-access-config [INSTANCE_NAME] --public-ptr --ipv6-public-ptr-domain [DOMAIN_NAME] gcloud 计算实例 update-access-config [INSTANCE_NAME] --public-ptr --ipv6-public-ptr-domain [DOMAIN_NAME]

Although this did add an IPv6 PTR record, in the console we can't see it.虽然这确实添加了一条 IPv6 PTR 记录,但在控制台中我们看不到它。

Thanks @john-hanley for answering this.感谢@john-hanley回答这个问题。

Reference: https://cloud.google.com/compute/docs/instances/create-ptr-record参考: https://cloud.google.com/compute/docs/instances/create-ptr-record

暂无
暂无

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

相关问题 无法在 Google Cloud 中创建双堆栈 VM - 此网络接口不支持 IPv6 访问配置 - Unable to create a dual stack VM in Google Cloud - IPv6 access config is not supported for this network interface 如何从 IPV6 地址连接到 GCP(谷歌云平台)云 SQL 实例? - How to connect to a GCP (Google Cloud Platform) Cloud SQL instance from an IPV6 address? 如何更改为双栈子网并更新 VM 实例栈类型 - Google 云 - IPv6 支持 - How to change to dualstack subnet and update a VM Instance stacktype - Google cloud - IPv6 support Google App Engine 上的 IPv6 到 IPv4 - IPv6 to IPv4 on Google App Engine 无法在 Google Cloud VM 上授权 bigrquery,但可以在本地计算机上授权 - Can't authorize bigrquery on Google Cloud VM, but can on local machine 无法在 Google Cloud Dataflow 虚拟机中使用 ping 命令? - Can't use ping command in Google Cloud Dataflow vm? 如何在 Google Cloud 服务上找到 IPv4 地址? - How do I find the IPv4 address on a Google Cloud service? GCP (Google Cloud) VM - 无法通过 SMTP 脚本通过 Python 发送 email - GCP (Google Cloud) VM - Can't send email via Python script with SMTP 无法从 Google Cloud Function 连接到 VM,但可以从 App Engine 连接。 为什么是这样? - Can't connect to VM from Google Cloud Function, but can connect from App Engine. Why is this? 您可以在 Google Cloud 中为 VM 实例批量设置“启用删除保护”吗? - Can you set "Enable delete protection" to VM instances in bulk in Google Cloud?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM