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.
| Provider | Microsoft Azure — Cloud provider |
| Where | The public IP’s ReverseFqdn (CLI or PowerShell) |
| Before you set it | The A record first |
| IPv6 | Not supported — IPv4 public IPs only |
| Outbound port 25 | Blocked — 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
- Point an A record for the name at the public IP — or use the IP’s own cloudapp.azure.com label.
- 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:
- Reverse DNS for Azure services — learn.microsoft.com
- Troubleshoot Outbound SMTP Connectivity in Azure — learn.microsoft.com
- Upgrade Basic Public IP Address to Standard SKU in Azure — learn.microsoft.com
- Default Outbound Access in Azure — learn.microsoft.com