I would suggest just doing a regular DNS query instead of using the Azure REST API to check if an update is needed. Would be an order of magnitude fewer calls to the API.
↧