Dubai users facing DNS issue with cdn.sanity.io, temporary solution found

5 replies
Last updated: Mar 29, 2024
user S
yep, in Dubai here, same issue. cdn.sanity.io isn't working, to get around it, I set my local dns to point to 8.8.8.8, not the best solution, but works for now
AI Update

Thanks for sharing this workaround! DNS issues with cdn.sanity.io in Dubai and the UAE are unfortunately a recurring problem that affects several users in the region. Your solution of switching to Google's public DNS (8.8.8.8) is actually one of the most common and effective workarounds.

Why This Happens

The issue typically stems from local ISP DNS servers in the UAE/Dubai region having problems resolving cdn.sanity.io correctly. This isn't a problem with Sanity's infrastructure itself (which runs on Google's global CDN network), but rather with how some regional DNS providers handle the domain resolution.

Alternative Solutions

Besides switching to Google DNS (8.8.8.8 or 8.8.4.4), you can also try:

  1. Cloudflare DNS: Use 1.1.1.1 or 1.0.0.1 as your DNS servers
  2. OpenDNS: Try 208.67.222.222 or 208.67.220.220
  3. VPN: If DNS changes don't work, a VPN can route around regional network issues
  4. Router-level DNS: Configure DNS at your router instead of individual devices to fix it for your entire network

For Production Applications

If you're deploying an application that will be accessed by users in Dubai/UAE, keep in mind that they may experience similar issues. You might want to:

  • Add a troubleshooting note in your app's help documentation
  • Consider implementing error handling that provides helpful messages when assets fail to load
  • Test your application from UAE-based networks or VPNs before launch

The good news is that once DNS is properly configured, cdn.sanity.io delivers excellent performance in the region since it leverages Google's global edge network with servers positioned worldwide for optimal delivery.

Thanks
user R
user R
Any best solution for all Dubai users?
user S
unfortunately it looks like it's at the DNS level, so no quick solution
Thanks
user R
user S
this has been resolved now by the way. Fix was rolled out.

Sanity – Build the way you think, not the way your CMS thinks

Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.

Was this answer helpful?