Sanity local development blocked - DNS workaround needed

26 replies
Last updated: Mar 29, 2024
This has been going on all day here, ☝️ the only way to unblock local development at least is to set your local dns to 8.8.8.8, or a working equivalent, not sure if anyone is working on this yet.
AI Update

Thanks for sharing that workaround! You're describing a DNS resolution issue that was impacting Sanity users, particularly those using Cloudflare DNS. This was indeed a real incident that occurred on March 29, 2024.

Based on the thread you referenced, the issue was caused by Cloudflare incorrectly flagging cdn.sanity.io (and related domains like cdn-tmp.i-p-s4y.com) as malware. This affected users who had Cloudflare DNS configured, preventing them from accessing Sanity content in both production and development environments.

The temporary workaround you mentioned was spot on - switching to an alternative DNS provider like Google's 8.8.8.8 allowed developers to continue working while the issue was being investigated.

What happened: The Sanity operations team worked directly with Cloudflare to resolve the false positive malware flagging. The issue was resolved within a few hours, though some users needed to wait for DNS cache TTL to expire before seeing the fix take effect.

For future reference: If you encounter similar DNS-related issues with Sanity services:

  1. Check if it's DNS-specific by trying alternative DNS servers (8.8.8.8, 1.1.1.1, etc.)
  2. Report it in the Sanity community Slack where the team monitors actively
  3. Check Sanity's status page for any ongoing incidents

The incident highlighted how third-party DNS filtering can sometimes cause unexpected outages, even when Sanity's infrastructure is functioning normally. Good catch on identifying the DNS workaround - that's exactly the kind of troubleshooting that helps unblock teams quickly!

Show original thread
26 replies
Hey User. Sure, but this is impacting our production environment, not local
Absolutely, same here unfortunately, but it's impacted on the DNS level, so nothing other than to wait for a resolution.
Yeah sigh.. But is Sanity aware of this? Is there anyway we can contact someone to at least get acknowledgment?
There's a few threads on this one already going back up the channel, might be able to tag someone here to get their attention
Do you know who to tag? 😞
https://sanity-io-land.slack.com/archives/C9Z7RC3V1/p1711665583984189 check this thread here, User's already pinged the boss man
Yes, we’re aware of the threads here and I’ve passed the details on to Operations. Haven’t been able to reproduce this and DNS checks show all regions as they should be, so unfortunately there’s no clear sign of a culprit.
Definitely understand this is affecting some of you, and I’m sorry you’re encountering those issues. We are aware and should a source of the problem arise, we’ll be on it.
Thanks
user A
Not sure if this helps, but when i run the DNS Propagation Checker on cdn.sanity.io , South Africa and a few other locations come back negative.
As a follow up here, we are still actively investigating and will follow up in this or the other thread here.
Thank you
user Q
are you by chance using Cloudflare DNS? We do, and it seems that Cloudflare is blocking it as malware.
All of our users are having issues accessing content from cdn.sanity.io due to our DNS filter from Cloudflare marking it as malware
Yes we are using cloud flare dns
We are working through this as well currently, as it does indeed look like Cloudflare is incorrectly flagging (and possibly others).
Thanks
user Y
let me know if there is anything we can do to verify or check anything to assist
Thank you!
Still strange that on our side, it’s only impacting users on the vodacom mobile network. WiFi and other mobile operators seem fine
user Q
can you please check Cloudflare users for testing?
Can you please clarify what you mean by Cloudflare users?
Sorry, multitasking 😅 , can you please test if this issue is still occurring for you (there may need some ttl cache time though)
Checking
Yes! Looks better on my side 🎉
Looks good here too. Thank you!
Thank you all for your patience while we worked through this
Great work

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?