terça-feira, dezembro 15, 2020

Reverse DNS PublicIp - Azure

This is the step to configure a reverse DNS for an IP address:

DNS Zone:

maykonrds.online

My public IP:

 

The fisrt step is create a DNS name label for the public IP:

 

DNS name label:

maykonrds.southcentralus.cloudapp.azure.com 

In your DNS zone create a CNAME and point to maykonrds.southcentralus.cloudapp.azure.com ( You can use any hostname )

 

The final step is a PowerShell:

>$pip=Get-AzPublicIpAddress -Name adsrv2-vm-ip
>$pip.DnsSettings

>$pip.DnsSettings.ReverseFqdn="maykonrds.maykonrds.online"

>Set-AzPublicIpAddress -PublicIpAddress $pip

 Check the changes:

 

You can check your DNS zone using the ping command:

 

Another Option:

Network Tools: DNS,IP,Email (mxtoolbox.com)