Microsoft Azure Set rDNS

To set rDNS for an IP, first make it static. Then use Azure CLI

–resource-group serverok

Is the resource group name.

–name ok-vmPublicIP

ok-vmPublicIP is name of my public IP. You can see it in Azure console.

–reverse-fqdn azure-rdns.serverok.in

azure-rdns.serverok.in is the reverse DNS i need. I pointed A record for this domain to Azure IP address.

–dns-name ok-vm

ok-vm is name of my VM.