DNS Lookup

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story. The source provided limited text, so this summary is brief.

Why it matters

Very little: Cloudflare's 1.1.1.1 DNS resolvers have long had a CORS-enabled JSON API, so anyone can now query DNS and filtering tiers directly from browser JavaScript.

Read this as

Blogger Simon Willison notes that Cloudflare's free 1.1.1.1 DNS lookups, the phonebook service that turns website names into internet addresses, can be queried via a simple web-friendly JSON API from any browser. That API also covers 1.1.1.2 and 1.1.1.3, variants that additionally block malware and adult content. Willison used the Claude Code coding assistant to build a small interface for testing queries against all three. It is a tip for developers, not a product launch.

A short developer tip, not a market development: Willison points out that Cloudflare's 1.1.1.1, 1.1.1.2 (malware-blocking) and 1.1.1.3 (malware plus adult content) resolvers expose a CORS-enabled JSON API usable from web pages. The practical takeaway is that browser-based tools can check DNS and filtering behaviour without a backend. No costs, adoption figures or business implications are discussed; nothing changes for decision-makers this week.

The post records that Cloudflare's 1.1.1.1 resolver, plus the 1.1.1.2 and 1.1.1.3 malware and malware+adult-content filtering variants, serves a CORS-enabled JSON DNS API, so queries can be made client-side from any origin. Willison had Claude Code generate a UI that fires DNS queries against all three resolvers for comparison. The post is a TIL entry dated 22 March 2026; no code, benchmark numbers or API documentation details are included.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

Cloudflare 1.1.1.1 Claude Code Datasette Pyodide

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading