An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
I recommend to take a look at the documentation at the link below
https://learn.microsoft.com/en-us/azure/frontdoor/front-door-url-redirect
@GitaraniSharma-MSFT is trying to say that some DNS services provides features to do the redirect, but this is not rule.
There is the Azure Front Door Service that could be the right choice to make a Redirect URL
https://learn.microsoft.com/pt-br/azure/frontdoor/front-door-overview