Few months ago Azure started restarting applications when change occurs in custom domains. This behavior is, of course, quite bothersome as, aside of unnecessary restarts, startup on Azure can't exactly be called swift. In my case I have two unrelated systems where few dozen domains point to single azure application with fixed IP address so restarts have negative influence on my mailbox.
I get same behavior in portal.azure.com and via powershell (Set-AzureWebsite -HostNames ...) for top and sub domains, but wildcards are not causing restarts.
Is there some trick to get around this "feature"? Perhaps there is some magic hidden in powershell interface?