[英]has anyone managed to create a Reverse DNS Zone on GCP -?
Just created a Reverse DNS Managed Zone as mentioned here - https://cloud.google.com/dns/docs/zones/managed-reverse-lookup-zones - How do we add VM IPs?刚刚创建了一个反向 DNS 托管区域,如此处所述 - https://cloud.google.com/dns/docs/zones/managed-reverse-lookup-zones - 我们如何添加 VM IP? with Terraform - Since the Reverse DNS Zone adds Networks to it - Wondering How will add PTR records to the Zone?
使用 Terraform - 由于反向 DNS 区域向其中添加了网络 - 想知道如何将 PTR 记录添加到该区域?
You cannot add records to a reverse lookup DNS zone directly;您不能直接将记录添加到反向查找 DNS 区域; the data comes from the Compute Engine IP address data.
数据来自 Compute Engine IP 地址数据。 Instead, add or modify the Access Configuration for the VM.
相反,添加或修改 VM 的访问配置。
Note: You must first verify ownership of the domain .注意:您必须首先验证域的所有权。 Ownership is verified in Webmaster Central .
所有权在Webmaster Central中得到验证。
To create a DNS PTR record for an existing Compute Engine VM instance, use the command flag --public-ptr
.要为现有 Compute Engine 虚拟机实例创建 DNS PTR 记录,请使用命令标志
--public-ptr
。
Examples:例子:
gcloud compute instances add-access-config [INSTANCE_NAME] \
--public-ptr --public-ptr-domain [DOMAIN_NAME]
Use this command if the VM already has an access configuration:如果 VM 已经具有访问配置,请使用此命令:
gcloud compute instances update-access-config [INSTANCE_NAME] \
--public-ptr --public-ptr-domain [DOMAIN_NAME]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.