Hello @Sebastian Köcke ,
Welcome to Microsoft Q&A Platform. Thanks for posting your query.
Domain forwarding (sometimes called connecting, pointing or redirecting) lets you automatically direct your domain's visitors to a different location on the web, which means you are looking for something like 301 (Permanent) redirect service for apex (naked) domains. This service isn't currently supported by Azure DNS.
For e.g:
(1) The root domain (example.com) should 301 (permanent) redirect to the www CNAME (www.example.com)
(2) The www CNAME (www.example.com) should direct to the external website (other.com)
URL redirect services aren't a DNS service. They work at the HTTP level rather than the DNS level. Some DNS providers bundle a URL redirect service as part of their overall offering. This isn't currently supported by Azure DNS but is planned and is under review.
The URL redirect feature is tracked in the Azure DNS backlog. Use the feedback site to register your support for this feature.
Please refer : https://learn.microsoft.com/en-us/azure/dns/dns-faq#does-azure-dns-support-url-redirects
But if you are looking to access your website without prepending "www" to your DNS name, you can use Azure DNS alias records to achieve this.
An alias record set is supported for the following record types in an Azure DNS zone:
- A
- AAAA
- CNAME
For example, if your website is named www.contoso.com, your users can access your site using contoso.com without the need to prepend www to the DNS name.
Please refer : https://learn.microsoft.com/en-us/azure/dns/dns-alias
Hope this helps!
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.