Opens in a new tab

Reverse DNS on Google Cloud: the VM’s PTR record

On Google Cloud, reverse DNS is set on a VM’s primary network interface — Public DNS PTR record — once you prove the domain is yours, through Search Console or an A record. Until then the address carries a googleusercontent.com name.

ProviderGoogle Cloud Compute Engine — Cloud provider
WhereThe VM’s network interface → Public DNS PTR record
Before you set itDomain proof — Search Console or the A record
IPv6Yes, on the primary interface of a dual-stack subnet
Outbound port 25Blocked until you ask
Default name25.113.0.203.bc.googleusercontent.com

Is reverse DNS right for your Google Cloud Compute Engine server?

Enter the IP address the server sends mail from, or its host name: we look up its PTR record, check that the name leads back to the address, and say whether it is still the default.

Setting reverse DNS at Google Cloud Compute Engine

  1. Prove you own the domain: verify it in Search Console with the same Google account, or add an A record for the name pointing to the VM’s external IP.
  2. Edit the VM: Networking, the primary interface, Public DNS PTR record — tick IPv4 or IPv6 and enter the name.

With gcloud (for IPv6: –ipv6-public-ptr-domain):

gcloud compute instances update-access-config my-vm --public-ptr --public-ptr-domain mail.example.com

Before you set it

  • The domain verified in Search Console, or an A record pointing at the external IP.
  • The VM’s primary network interface — not a load balancer or Cloud NAT address.

Sending mail on port 25

Google Cloud blocks outbound port 25 to external addresses by default, and lifts it for a project it judges low-risk; a banner on the VPC networks page says whether yours is allowed. Ports 465 and 587 are not blocked.

Worth knowing

The default name spells the address backwards.

A live migration can occasionally reset the PTR to the default: set it again.

Sources

Checked on 27 September 2026 against these official sources:

Keep your sending servers off the blocklists

Add your domain and we check the servers you send from every day — reverse DNS, blocklists and authentication — and email you when one is listed or a record breaks. Free for your first domain.

Create a free account