Unable to set reverse DNS on public IPv6

DanielSchall-7932 1 Reputation point
2023-12-30T04:20:28.47+00:00

Hi all,

I'm trying to set a reverse DNS entry on my static IPv6 address, but it doesn't seem to be supported:

PS /home/user> $pip = Get-AzPublicIpAddress -Name "XXX-Public-IPv6" -ResourceGroupName "RG"

PS /home/user> $pip.DnsSettings.ReverseFqdn = "host.domain.com"

PS /home/user> Set-AzPublicIpAddress -PublicIpAddress $pip

Set-AzPublicIpAddress: Cannot specify reverse fqdn 'host.domain.com' for IPv6 PublicIp '/subscriptions/xxx/resourceGroups/RG/providers/Microsoft.Network/publicIPAddresses/XXX-Public-IPv6'.

StatusCode: 400

ReasonPhrase: Bad Request

ErrorCode: CannotSpecifyReverseFqdnForIpV6PublicIp

ErrorMessage: Cannot specify reverse fqdn 'host.domain.com' for IPv6 PublicIp '/subscriptions/xxx/resourceGroups/RG/providers/Microsoft.Network/publicIPAddresses/XXX-Public-IPv6'.

OperationID : 2f1f2516-8aaa-453f-a4de-e62ffcb4fc89

This works for IPv4 addresses, and there's no way to do this on the Portal, so I'm stuck.

What am I doing wrong?

How do I set a reverse DNS entry for my IPv6 addresses?

Thanks,

Daniel

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

1 answer

Sort by: Most helpful
  1. Luke Murray 11,091 Reputation points MVP
    2024-01-01T19:48:27.2+00:00

    Hi, Daniel

    Unfortunately, you can't enable Reverse DNS for IPV6 at this time, I believe it's definitely being looked at, as Microsoft are working on parity, but have no timelines.

    Can I configure reverse DNS for IPv6 PublicIpAddress resources?

    No. Azure currently supports reverse DNS only for IPv4 PublicIpAddress resources and Cloud Services.

    Reference: Configure reverse DNS for services hosted in Azure


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.