I have followed the proceedure in google cloud documentation...https://cloud.google.com/compute/docs/instances/create-ptr-record

  1. verify domain ownership (done and verified)
  2. in google cloud console, go to vm instances> Edit > edit primary network interface > click checkbox to enable Public DNS PTR Record
  3. As soon as i enter mydomain.com into this and click save i get the following error

Editing VM instance "server3" failed. Error: Invalid value for field 'resource.publicPtrDomainName': 'mydomain.com.au.'. Please verify ownership of the PTR domain at https://www.google.com/webmasters/verification/verification?domain=mydomain.com.au.

I make note of the following post on this topic...Google Cloud DNS - What does the PTR record actually do?

however, in my case, my server public ip address is provided by google cloud compute. So who am i supposed to go to for this record? It appears from what i am reading that it is google. However, the above error i am getting doesnt make any sense.

  1. Am i enterring the PTR domain incorrectly? (what format should it be enterred in the Google Cloud Console?)

  2. From the other stack exchange post i have referred to on this topic, it appears that i need to set google nameservers for this to work. Is this true?

  3. If question 2 above is "yes", my server is in Australia. The dns latency is over 100m/s which is terrible.My current dns provider latency is around 12m/s. I dont want crap dns latency...is there a workaround?

  • I see two things. Is this a typo, or are you typing in mydomain.com and seeing an error that says mydomain.com.au? Additionally, PTR records are linked to hostnames not domain names. mydomain.com is a domain name. A PTR record would point to myhost.mydomain.com. There should be an associated A record in similar fashion. – Appleoddity Sep 24 '18 at 3:09
  • Sorry that was just a typo. – user410836 Sep 25 '18 at 5:13

I have figured out my answer.

On a production web/mail server, it appears that, in google webmaster central,for server1.mydomain.com (hostname fqdn)

  1. one needs to choose "alternate verification">registrar dns txt record.
  2. At registrar/dns host, add dns records for server1.mydomain.com as well as adding the additional txt record given by google webmaster central
  3. In google cloud compute public ptr one then can submit server1.mydomain.com

The reason why the alternate verification is needed is because server.mydomain.com isnt pointing at a website! (So http verification isnt going to work)

If your registrar isnt losted in webmaster central,scroll to bottom of list and choose "other", then follow the prompts.

As a final note, if the reverse dns ptr is pointing at just mydomain.com (instead of server1.mydomain.com) and the relevant dns records for server1.mydomain.com are not also added, the smtp test will still throw a reverse ptr error.


I would like to add additional info to your own correct answer (For others looking for answers and alternative) if you make use of GSuite for your domain, it can be automatically verified.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy