Mārtiņš Bonders
Mārtiņš Bonders

Reputation: 1

Create reverse DNS for Azure Cloud VM when using AzureResourceManager (ARM) mode

I have created VM using AzureResourceManager (ARM) mode. I want to configure reverse DNS record for my VM, BUT, all instruction are for AzureServiceManagement (ASM) mode, like https://azure.microsoft.com/en-gb/blog/announcing-reverse-dns-for-azure-cloud-services/ The main error is that command Set-AzureService is not working, also Set-AzureRmService command is not working. So, how can I create Reverse DNS using ARM commands?

Upvotes: 0

Views: 172

Answers (1)

Stephen Malone MSFT
Stephen Malone MSFT

Reputation: 46

For VMs created with the ARM management stack, you need to set the Reverse DNS property on the Public IP Address resource (PS reference here, and API reference here) associated with the VM/LoadBalancer. As with ASM, you need to demonstrate at create time that you own the DNS name to which you want the reverse DNS record to point - you can achieve that by specifying the Reverse DNS value to match the fully qualified DNS name (ends with a dot) for the Public IP Address.

Regards, Stephen Malone - Azure Networking

Upvotes: 1

Related Questions