How to set up a PTR Record for an already bound Email Communication Domain

Florian Zumpe 0 Reputation points
2025-01-13T13:09:40.1233333+00:00

Firstly, I searched for some entries regarding my problem but there are only solutions using the Azure DNS Service which does not work here - I already tested this.

An already configured and used Email Communication service is using a Domain (in Powershell via Get-AzEmailServiceDomain) with an Azure-configured public IP as FROM-address.
The domain is not configured further.

I do not see any option to add the PTR-Entry for the Domain and configuring another DNS-Zone in Azure DNS results in an unpublished entry because the zone is published on another nameserver.

DNS set currently:

<xxx>        nameserver = ns1-08.azure-dns.com 
<xxx>        nameserver = ns2-08.azure-dns.net
<xxx>        nameserver = ns3-08.azure-dns.org
<xxx>        nameserver = ns4-08.azure-dns.info

DNS Settings when creating a Recordset in Azure DNS:

@ NS ns1-09.azure-dns.com 
@ NS ns2-09.azure-dns.net
@ NS ns3-09.azure-dns.org
@ NS ns4-09.azure-dns.info

Is it possible to edit the reverse DNS settings for an Azure EmailServiceDomain via GUI or Powershell ?

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
717 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
965 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sina Salam 15,396 Reputation points
    2025-01-14T11:29:35.2766667+00:00

    Hello Florian Zumpe,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you would like to know how you can setup a PTR Record for an already bound Email Communication Domain.

    Regarding your explanation and question:

    1. You need to assign a DNS name to your public IP address. This can be done via the Azure portal or using PowerShell. Then, use the Set-AzPublicIpAddress cmdlet to configure the reverse DNS. PowerShell command example:
         Set-AzPublicIpAddress -Name "YourPublicIpName" -ResourceGroupName "YourResourceGroupName" -ReverseFqdn "yourdomain.com"
      
      Make sure that the DNS name resolves to the public IP address.
    2. On your las question. Currently, configuring reverse DNS for Azure services is not supported via the Azure portal. You need to use PowerShell or Azure CLI. This is how you can do it using PowerShell:
      1. If you haven't already, install the Azure PowerShell module, install it: Install-Module -Name Az -AllowClobber -Scope CurrentUser
      2. Login to your Azure account using PowerShell: Connect-AzAccount
      3. Set the reverse DNS using PowerShell:
              Set-AzPublicIpAddress -Name "YourPublicIpName" -ResourceGroupName "YourResourceGroupName" -ReverseFqdn "yourdomain.com"
              
        

    For more detailed steps on configuring reverse DNS for Azure services - https://learn.microsoft.com/en-us/azure/dns/dns-reverse-dns-for-azure-services

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.