Opens in a new tab

Reverse DNS on Microsoft Azure: ReverseFqdn

On Azure, reverse DNS is the ReverseFqdn property of a public IP address resource, set from the CLI or PowerShell — the portal cannot. Only IPv4, and outbound port 25 is blocked on most subscription types.

ProviderMicrosoft Azure — Cloud provider
WhereThe public IP’s ReverseFqdn (CLI or PowerShell)
Before you set itThe A record first
IPv6Not supported — IPv4 public IPs only
Outbound port 25Blocked — use a relay

Is reverse DNS right for your Microsoft Azure 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 Microsoft Azure

  1. Point an A record for the name at the public IP — or use the IP’s own cloudapp.azure.com label.
  2. Set the ReverseFqdn of the public IP address resource, from the CLI or PowerShell — the portal cannot do it. The name must end with a dot.

With the Azure CLI (add –dns-name with a label if the IP has none yet):

az network public-ip update -g MyResourceGroup -n MyPublicIp --reverse-fqdn mail.example.com.

Before you set it

  • A name whose forward lookup gives the same public IP, or a name defined in your subscription. Azure checks it once, when you set it.

Sending mail on port 25

Outbound port 25 is blocked on every subscription type except Enterprise Agreement and MCA-E; Enterprise Dev/Test can exempt itself from the network’s troubleshooter. Everyone else is told to use an authenticated relay on port 587, such as Azure Communication Services.

Worth knowing

There is no default reverse DNS: Azure creates none until you set one.

Newer virtual networks give machines no default outbound address: a mail server needs its own Standard public IP — which is also what carries the PTR.

What changed

  • 30 September 2025 — Basic public IPs retired; Standard, static IPs remain.

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