Can't configure rDNS

NOAM 0 Reputation points
2023-06-07T11:57:50.7266667+00:00

I am trying to configure rDNS for my website.

How do you configure rDNS record if

  1. domain is in another supplier.
  2. Azure is the hosting.

I tried to follow instructions here:

https://learn.microsoft.com/en-us/azure/dns/dns-reverse-dns-hosting

But it doesn't work

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

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,611 Reputation points Microsoft Employee Moderator
    2023-06-08T15:28:46.8266667+00:00

    @NOAM

    If the IP is Azure owned, and you are using a Public IP or Cloud Services(Classic Deployment Model),

    You should follow this: Reverse DNS for Public IP address resources.

    Prerequisite:

    1. The Public IP must have a FQDN, or in other words, a DomainNameLabel
      1. Under your Public IP address, go to Configuration Tab
      2. Under DNS name label, enter the prefix you want to use.
      3. Select Save at the top of the page.
      4. Select Overview in the left menu to return to the overview blade.
      5. Verify that the DNS name appears correctly.
    2. Add a DNS CName Record in your domain to point to this Label.
      or
      Add a A Record in your domain to point to this IP Address
    3. User's image

    Steps to follow:

    Once the A record or CNAME record is configured & replicated, you can go ahead and set Reverse DNS as follows:

    $pip = Get-AzPublicIpAddress -Name "<Name of PIP>" -ResourceGroupName "<RG Name>"
    $pip.DnsSettings.ReverseFqdn = "<Your custom domain>"
    Set-AzPublicIpAddress -PublicIpAddress $pip
    

    Post this, wait for around 15-30 minutes so that the DNS gets propagated.

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

    Thanks,

    Kapil

    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.