In our project requirements we need to deal with a number of redirects where requests come in the form of example.com/some-uri and based on this some-uri get redirected to various places.
As all of our existing apps are already hosted in Azure (hundreds of services, databases, applications, etc, etc.), Azure Functions seem a very reasonable choice. The workload is extremely simple: match the incoming uri against a table and issue a 301 redirect to the corresponding target.
Unfortunately, with Azure Function there is no public IP address and I cannot use CNAME on the root domain (that is, I cannot use DNS syntax @ CNAME somefunction.something.azure.net)
I don't want to have to pay for an app service to just deal with these redirects. The number of requests I expect is well within the free allocation of function invocations, therefore I would be getting this essentially for free.
How can I point the root of my example.com domain to the function?


