BREAKING: Supabase DNS Resolution Failures for .co TLD Users — Immediate Workarounds Inside
Supabase experiencing DNS resolution failures affecting .co domain users. We have verified workarounds and monitoring steps for indie hackers.
BREAKING: Supabase DNS Resolution Failures for .co TLD Users
Status: Identified | Severity: High | Last Updated: Now
What's Down & Who's Affected
Supabase is experiencing DNS resolution failures specifically for users accessing services via .co domain extensions. This primarily impacts:
*.supabase.co endpointsNot affected: Projects using custom domains or accessing via IP addresses directly.
Immediate Workarounds (Deploy These Now)
1. Switch to IP Resolution
Instead of relying on DNS, use Supabase's IP address directly: ```bashFind your project's IP (check Supabase dashboard > Project Settings > API)
Test with curl:
curl -H "Authorization: Bearer YOUR_ANON_KEY" https://[PROJECT-IP]/rest/v1/ ```2. Use Custom Domain (Fastest Fix)
If your project supports it, configure a custom domain in Project Settings:api.yourapp.com → Supabase via CNAMESUPABASE_URL environment variable3. Implement DNS Failover
Add fallback logic to your application: ```javascript const supabaseUrls = [ process.env.SUPABASE_URL, // primary 'https://[backup-ip].nip.io', // fallback ];let supabase;
for (const url of supabaseUrls) {
try {
supabase = createClient(url, anonKey);
await supabase.auth.getUser(); // test connection
break;
} catch (e) {
console.log(Trying next endpoint...);
}
}
```
4. Use Cloudflare/DNS Proxy
Route requests through Cloudflare:How to Check If You're Affected
```bash
Quick diagnostic:
1. nslookup your-project.supabase.co → If no response or timeout: AFFECTED2. curl -v https://your-project.supabase.co/rest/v1/ → If connection refused: AFFECTED
3. ping your-project.supabase.co → If 100% packet loss: AFFECTED ```
Browser test: Open your app console (F12 > Network tab). Look for failed requests to *.supabase.co with DNS_FAILED errors.
Alternative Tools to Consider
While Supabase resolves this, evaluate:
Note: Switching platforms takes hours/days. Use workarounds above first.
Monitor Recovery
Official channels:
Daily check: ```bash
Monitor from your terminal:
watch -n 60 'dig your-project.supabase.co +short' ```When it's fixed: You'll see a valid IP address returned from DNS query (not timeout).
---
Bottom line: You have working solutions *right now*. Implement workaround #2 or #3 immediately while Supabase resolves the underlying DNS issue. Most projects should be back to normal within 2-4 hours.
Stay calm. Stay building. 🚀