Rapid Prototyping Of Developer Tooling Using An Ai Coding Assistant To Compare Resolver Behaviors
Sources: 1 • Confidence: Medium • Updated: 2026-04-13 03:52
Key takeaways
- Cloudflare's 1.1.1.1 DNS resolver provides a CORS-enabled JSON API.
- Cloudflare's 1.1.1.2 resolver is positioned as blocking malware.
- Cloudflare's 1.1.1.3 resolver is positioned as blocking both malware and adult content.
- The author used Claude Code to build a UI that runs DNS queries against Cloudflare's 1.1.1.1, 1.1.1.2, and 1.1.1.3 resolvers.
Sections
Rapid Prototyping Of Developer Tooling Using An Ai Coding Assistant To Compare Resolver Behaviors
- Cloudflare's 1.1.1.1 DNS resolver provides a CORS-enabled JSON API.
- Cloudflare's 1.1.1.2 resolver is positioned as blocking malware.
- Cloudflare's 1.1.1.3 resolver is positioned as blocking both malware and adult content.
- The author used Claude Code to build a UI that runs DNS queries against Cloudflare's 1.1.1.1, 1.1.1.2, and 1.1.1.3 resolvers.
Dns-Layer Policy Filtering Via Resolver Selection (Malware; Malware+Adult)
- Cloudflare's 1.1.1.2 resolver is positioned as blocking malware.
- Cloudflare's 1.1.1.3 resolver is positioned as blocking both malware and adult content.
Browser-Callable Dns-Over-Https Json (Cors-Enabled) Enabling Client-Side Diagnostics
- Cloudflare's 1.1.1.1 DNS resolver provides a CORS-enabled JSON API.
Unknowns
- What are the exact 1.1.1.1 JSON API endpoint(s), request/response schema, and the specific CORS headers returned under real browser conditions?
- What rate limits, acceptable use constraints, or pricing/quotas (if any) apply to the CORS-enabled JSON API usage from browsers?
- How do 1.1.1.2 and 1.1.1.3 represent blocking in practice (e.g., NXDOMAIN vs synthetic IP vs other response), and what is the consistency across domain categories?
- What are the false-positive and false-negative characteristics of the malware and adult-content blocking behavior for the resolver variants?
- Is the reported UI publicly available, and if so, what implementation approach does it use (direct DoH JSON calls, caching, concurrency, error handling) to ensure correctness?