You can bypass the DNS issue in the short term by hard-coding our hostname 126.96.36.199
echo "188.8.131.52 api.openai.com" | sudo tee -a /etc/hosts
 If you can't access your /etc/hosts file in your environment, you can also use a command similar to the following:
curl -k -H "Host: api.openai.com" "https://184.108.40.206
Also note that due to the probabilistic nature of Azure's DNS issue it's possible that the hostname will intermittently resolve and then break again.
NOTE that we do not guarantee stable IP addresses. It is important that you undo this temporary patch once the issue has been resolved. We will update this Status Page as soon as we confirm the system is back to normal.