PTR Record Location

Brandon Andrasco 0 Reputation points
2023-11-03T21:26:43.93+00:00

So to summarize, we have public IP addresses through Azure that have PTR records. I looked at the DNS zone category to see if they were located there and there is nothing at all in that section.

The PTR records do point back to Azure but I cannot find where to change these.

Any assistance with this would be appreciated.

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
675 questions
{count} votes

1 answer

Sort by: Most helpful
  1. GitaraniSharma-MSFT 49,591 Reputation points Microsoft Employee
    2023-11-06T12:38:53.1733333+00:00

    Hello @Brandon Andrasco ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you have Azure public IP addresses that have PTR records configured but you are unable to find where these are located in Azure DNS.

    There are 2 types of scenarios for managing reverse DNS in Azure:

    1. Host reverse DNS lookup zones in Azure DNS.
    2. Configure reverse DNS for services hosted in Azure.

    Host reverse DNS lookup zones in Azure DNS:

    The below doc explains how to host reverse DNS lookup zones in Azure DNS which means you can host reverse DNS lookup zones for your ISP-assigned IP blocks on Azure DNS.
    https://video2.skills-academy.com/en-us/azure/dns/dns-reverse-dns-hosting

    The above scenario involves creating a DNS zone in Azure, which you can see and manage from Azure portal.

    Configure reverse DNS for services hosted in Azure:

    But there is another scenario which involves configuration of reverse DNS (PTR records) for services hosted in Azure (compute resources such as virtual machines, virtual machine scale sets, and Service Fabric clusters having Public IP addresses) as mentioned in the below article:

    https://video2.skills-academy.com/en-us/azure/dns/dns-reverse-dns-for-azure-services

    Services in Azure use IP addresses assigned by Azure and owned by Microsoft. These reverse DNS records (PTR records) must be created in the corresponding Microsoft-owned reverse DNS lookup zones (these zones are not visible in your subscription as these are Microsoft-owned).

    This scenario differs from the ability to host the reverse DNS lookup zones for your assigned IP ranges in Azure DNS, where the IP ranges represented by the reverse lookup zone must be assigned to your organization, typically by your ISP.

    Azure currently supports reverse DNS only for Public IPv4 address resources.

    Reverse DNS lookups are configured using the ReverseFqdn property of the Public IP address.

    You can use either Azure PowerShell, Azure classic CLI, or Azure CLI to accomplish this task. Configuring reverse DNS for a Public IP address resource is currently not supported in the Azure portal.

    More details on this setup can be found in the below thread:

    https://video2.skills-academy.com/en-us/answers/questions/564126/how-to-create-a-ptr-record

    You mentioned that you have public IP addresses through Azure that have PTR records. So, you have the second scenario where you've configured reverse DNS (PTR records) for services hosted in Azure.

    Hence, if you want to view reverse DNS for an existing PublicIpAddress, you can use Azure PowerShell/CLI commands are mentioned in the below doc:

    Get-AzPublicIpAddress -Name "PublicIp" -ResourceGroupName "MyResourceGroup"
    
    az network public-ip show --name PublicIp --resource-group MyResourceGroup
    

    Refer: https://video2.skills-academy.com/en-us/azure/dns/dns-reverse-dns-for-azure-services#view-reverse-dns-for-an-existing-publicipaddress

    FAQs: https://video2.skills-academy.com/en-us/azure/dns/dns-reverse-dns-for-azure-services#faq

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

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.