Reverse DNS for Azure VM created in Resource Manager

I have the same problem and found a solution. With an CNAME Record pointing to an PublicIpAddress DNS-Name I was abel to create the PublicIpAddress ReverseFqdn. After the Creation I have changed the CName back to an A Record Pointing to the new PublicIpAddress.

So Method 2 of the error works for me. Method 1 not.

Step by Step.

1.) New-AzureRmPublicIpAddress -Name tempstatic -ResourceGroupName cw-extesting -Location “west us” -AllocationMethod Static -domainnamelable tempstatic47115

2.) xxx.clientdomain.com CNAME TO tempstatic47115.westus.cloudapp.azure.com.

3.) New-AzureRmPublicIpAddress -Name testingstatic -ResourceGroupName cw-extesting -Location “west us” -ReverseFqdn xxx.clientdomain.com -AllocationMethod Static -domainnamelable testingstatic47115

4.) Change xxx.clientdomain.com to A Record pointing to the Ip of 3. (testingstatic)

5.) Remove-AzureRmPublicIpAddress -Name tempstatic -ResourceGroupName cw-extesting

Hint: The ReverseFqdn works only in combination with domainnamelable because the method New-AzureRmPublicIpAddress checks if the domainnamelable is not empty to create the DNS Settings.

 

Source: https://social.msdn.microsoft.com/Forums/en-US/964ba245-03d2-4287-af7a-525a5ea32b50/reverse-dns-for-resource-manager?forum=WAVirtualMachinesVirtualNetwork&prof=required

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s