How to add a PTR record to my VM instance on gcp?

0 votes
I want to add a PTR record for reverse the DNS lookup, to my already existing VM instance. How do I go about doing this,? I am using gcloud tool.
Sep 26 in GCP by Karan
• 3,250 points
26 views

1 answer to this question.

0 votes

If your VM instance uses the primary network interface, you can enable or disable PTR records by updating the access configuration on the primary network interface, 'nic0', for the VM instance.

If your network access is not configured, add the access config, then enable PTR records within the network interface menu.

Use the gcloud compute instance update-access-config command to add a PTR record to an existing access configuration.

gcloud compute instances update-access-config [INSTANCE_NAME]
    --public-ptr --public-ptr-domain [DOMAIN_NAME]
answered Sep 26 by Sirajul
• 29,340 points
How do I add the access config for my Linux VM instance?

Related Questions In GCP

0 votes
1 answer

Cannot connect to my VM instance on GCP via SSH.

This might be because UFW is installed. ...READ MORE

answered Sep 27 in GCP by Sirajul
• 29,340 points
27 views
0 votes
1 answer

How do I add the access config for my Linux VM instance?

If your instance does not have an ...READ MORE

answered Sep 26 in GCP by anonymous
• 3,250 points
25 views
0 votes
1 answer

How to allow outbound traffic on a custom port in gcp?

To allow outbound traffic through a custom ...READ MORE

answered Sep 26 in GCP by Sirajul
• 29,340 points
19 views
0 votes
1 answer

Creating a SQL Server instance using Google Compute engine.

Google Compute Engine provides public images preconfigured with ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
18 views
0 votes
1 answer

How do i install gcloud compute?

The gcloud compute command-line tool enables you to easily ...READ MORE

answered Sep 23 in GCP by Sirajul
• 29,340 points
16 views