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, 2019 in GCP by Karan
• 19,610 points
1,888 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, 2019 by Sirajul
• 59,230 points
How do I add the access config for my Linux VM instance?

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
4,679 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
2,922 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points

edited Jun 16, 2023 by Khan Sarfaraz 1,262 views
0 votes
1 answer

How to add a regional persistent disk to a VM instance on GCP?

You must first create the regional persistent ...READ MORE

answered Oct 18, 2019 in GCP by Sirajul
• 59,230 points
2,749 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP