Field notes on what else x402 could unlock — speculative reviews of applications that do not exist yet.

Field Note #10: DNS Query Payments

What if every DNS lookup cost a tenth of a cent?
~10 min read

Every time you load a webpage, your browser silently performs dozens of DNS lookups. Each one is free. The global DNS infrastructure handles roughly 500 trillion queries per day — about 5.8 billion per second — and every single one of those resolution requests is settled on trust, not on a balance sheet. Google Public DNS alone absorbs over a trillion queries daily, routing them through anycast networks and caching layers at no direct marginal cost to the end user. The system works remarkably well, which is precisely why proposing to attach a micropayment to every DNS lookup sounds absurd on its face. But consider this: DNS DDoS attacks now comprise 54% of all network-layer attacks, and they’ve increased 80% year over year. The largest volumetric DNS attack on record reached 71 million requests per second. The economics of these attacks rely on one simple fact: DNS resolution is free for the attacker and costly for the defender. What changes if every query costs a tenth of a cent?

The Free-Query Problem

The beauty of DNS has always been its openness. It’s a public directory that anyone can query without authentication, without payment, and without prior arrangement. This design decision — baked into DNS in 1983 — is the foundation of every subsequent security problem. DNS amplification attacks, reflection attacks, subdomain enumeration, and the entire category of DNS-based DDoS exist because querying costs nothing.

Think about that 71 million RPS attack. At $0.001 per query, that attacker would be spending $71,000 per second — a number that creates an immediate economic ceiling. No botnet operator has that kind of budget. The micropayment doesn’t need to be enforced in real time to create this deterrent; it just needs to be real enough that an attacker can’t amortize the cost across a billion free queries. A tenth of a cent per lookup shifts the economics of abuse from “limitless” to “bank-breaking within three seconds.”

The Scale Problem

Here’s where theory meets reality. If every DNS query costs $0.001, then Google Public DNS’s trillion daily queries would generate $1 billion in fees per day. That’s $365 billion annually — roughly the GDP of a small European country. No one is suggesting we bill end users for each lookup. The x402 model for DNS would need to work very differently from a simple per-query toll.

The more plausible architecture is layered: recursive resolvers (the ones operated by Google, Cloudflare, and ISPs) would pre-pay in bulk for query capacity, absorbing the micro-cost across their user base. Cloudflare’s 1.1.1.1 handles 10–30 million queries per second per point of presence. At $0.001 per query, Cloudflare would be spending $10,000–30,000 per second per PoP. That’s $864 million–$2.6 billion per day per PoP. Obviously, that doesn’t work as a raw passthrough.

The resolution is that x402 DNS payments wouldn’t apply to every query. They’d apply to authoritative queries — the ones that cross from a recursive resolver to an authoritative nameserver. This is where the economic bottleneck sits. Premium authoritative zones already charge registration fees: .ai domains run $80/year. The question is whether the resolution itself has value worth pricing at the micropayment level.

The Table: DNS Payments in Practice

DDoS Prevention

Why It’s Interesting: 71M RPS attack × $0.001 = $71K/sec. Creates an instant economic ceiling on volumetric abuse. No botnet can finance that burn rate.

Why It Might Not Work: Attackers switch to application-layer attacks that don’t require DNS. Also, post-paid billing with chargebacks could negate the deterrent — attackers settle after the attack and default.


Premium Zone Resolution

Why It’s Interesting: High-value authoritative zones (.ai, .com, enterprise domains) already charge registration. Per-query pricing aligns cost with value received.

Why It Might Not Work: It breaks DNS caching — the whole point of TTL-based caching is to avoid repeated lookups. If payment happens per resolution, caches would need to pay, which defeats their purpose.


Resolver Pre-Pay Plans

Why It’s Interesting: Cloudflare and Google could bulk-purchase query credits at wholesale rates, spreading cost across millions of users for pennies each.

Why It Might Not Work: Operating costs at Cloudflare’s 1.1.1.1 (10–30M reqs/sec/PoP) would still be astronomical at any non-trivial per-query price. The math only works near zero.


DNS-over-HTTPS Authentication

Why It’s Interesting: Micropayments could replace API keys for authenticated DNS resolvers, simplifying DoH billing.

Why It Might Not Work: DoH was designed to increase privacy and prevent manipulation — adding a payment layer re-centralizes control around whoever holds the payment tokens.


TLD Registry Query Fees

Why It’s Interesting: Registry operators could monetize direct queries to their nameservers, creating revenue streams beyond registration fees.

Why It Might Not Work: ICANN’s multi-stakeholder governance model would block any per-query fee. DNS has been free since 1983 — changing that norm requires institutional consensus that doesn’t exist.


RPZ / Threat Intelligence Feeds

Why It’s Interesting: Response Policy Zones used for DNS filtering could charge per blocked-domain query, monetizing threat intel at the resolver level.

Why It Might Not Work: Threat intelligence works best when widely shared. Per-query costs would reduce adoption and create incentives to hoard domain reputation data.

The Caching Paradox

DNS caching is the single biggest obstacle to the x402 DNS model. Caches exist specifically to eliminate redundant lookups — your browser caches a DNS response for the duration of its TTL (time-to-live), which can range from 60 seconds to 24 hours. If you pay per lookup, you want caches to hit as often as possible. But caches work because they don’t pay — they’re free intermediates that absorb query load.

There’s a clever workaround: pay per cache fill rather than per query. The recursive resolver pays the authoritative server once when it first resolves a name (or when the TTL expires and it needs a fresh answer), then distributes that answer to all its users for free. This preserves the economic logic of caching — you pay once, reuse many times — while still attaching a cost to the authoritative resolution that creates the DDoS deterrent. A 71 million RPS attack becomes a 71 million cache-miss attack, which still costs $71K/second on the authoritative side, but the recursive resolver only pays for each unique resolution, not each duplicated incoming request.

The problem is that this model collapses under high uniqueness. Attackers don’t need to query the same domain 71 million times — they generate 71 million unique subdomain lookups using dictionary generation. Each one is a cache miss. Each one costs the resolver a tenth of a cent. The attacker burns $71K/second on the resolver’s ledger, not their own. The resolver pays, not the attacker. This is the fundamental asymmetry problem: unless you can identify and bill the attacker directly, DNS micropayments punish the infrastructure, not the abuser.

The Authentication Problem

For DNS micropayments to work as a DDoS deterrent, you need to know who’s paying. DNS is largely anonymous — queries come in, answers go out, no identity required. Attaching a payment mechanism to each query requires either (a) pre-authenticated resolvers with balance accounts, or (b) a token-based system where queries carry proof of payment.

The x402 protocol offers exactly this: a resolver pre-purchases a batch of query tokens, and each outgoing query includes an Authorization: 402 token that the authoritative server validates. Queries without valid tokens get a 402 Payment Required response and a WWW-Authenticate: 402 challenge. The resolver then presents a fresh token. This works beautifully in theory — it’s the same pre-pay, batch-settle pattern x402 uses everywhere — but it requires all nine root nameservers, all 1,500+ TLD operators, and millions of authoritative nameservers to implement and agree on a payment standard. That doesn’t happen in a decade, if ever.

And even if it did, there’s the question of latency. DNS is already ruthlessly optimized — a well-configured recursive resolver resolves queries in 10–30 milliseconds, often faster. Adding payment validation, token verification, and settlement logic to that critical path adds perhaps 5–20 milliseconds. In isolation that’s tolerable. In aggregate, across the 5.8 billion queries per second the global internet processes, those extra microseconds mean more infrastructure, more power, more cooling, and more complexity in the most battle-hardened protocol on the internet.

The Whitelist Alternative

There’s a more pragmatic version of this idea that doesn’t require overhauling global DNS: paid whitelisting for authoritative resolution. Under this model, resolvers that pre-pay get priority treatment — faster responses, higher rate limits, SLA guarantees. Everyone else still gets free DNS, just at lower priority and potentially with rate limiting. This is essentially what Cloudflare’s enterprise DNS offering already provides, just formalized with x402 tokens instead of monthly invoices.

The numbers here are interesting. If a premium recursive resolver like Google Public DNS paid $0.0001 per authoritative resolution — a tenth of my original assumption — its trillion daily queries would cost $100 million per day. Still enormous. But if we limit the payment to just the first resolution of each unique domain per TTL window (cache-fill pricing), the cost drops dramatically. The internet has roughly 370 million registered domains. If each is resolved once daily at $0.0001, the total cost is $37,000 per day for the entire global resolver infrastructure. That’s a rounding error. The DDoS deterrent survives because an attacker generating 71 million unique subdomains still triggers 71 million unique cache fills — but for legitimate traffic, the cost is negligible.

This is the sweet spot. Cache-fill pricing at basis-point levels aligns incentives without breaking the internet’s economics. The question is whether it’s worth implementing a new payment protocol for $37K/day in aggregate fees — which is roughly what Cloudflare spends on coffee for its engineers.

The Defensive Angle

Let me approach this from a purely defensive standpoint, because that’s where DNS payments make the most compelling case. Right now, the cost of defending against DNS DDoS is borne entirely by the infrastructure provider. Cloudflare absorbs attack traffic, scrubs it, and absorbs the cost as a competitive advantage that lets them sell enterprise CDN subscriptions. Google operates Public DNS as a loss leader. The incentives are misaligned — the defender pays to clean up a mess the attacker makes for free.

What if the defender could charge the attacker? Not in real time — that’s impossible with anonymous queries — but through settlement after the fact? Imagine a world where each query carries a non-recoverable micro-payment. Attackers who use compromised resolvers (open resolvers, which are the primary vector for amplification attacks) would drain those resolvers’ pre-paid balances. Operator gets a payment whether the traffic is legitimate or not. The cost of absorbing an attack becomes negative — you make money from being attacked.

This flips the entire DDoS economics on its head. Currently, attackers spend $50–$100 for a 300 Gbps booter service for an hour. If that hour requires $71K in query payments (at 71M RPS), the booter business model evaporates. The only viable attacks become low-and-slow application-layer attacks that don’t rely on DNS volume. Those are harder to execute and easier to mitigate.

I’m not convinced DNS micropayments are coming to public DNS in my lifetime — the installed base is too large, the standards inertia too strong, and the caching paradox too fundamental. But the defensive case for paid authoritative resolution is stronger than I expected. A cache-fill pricing model at $0.0001 per unique resolution per TTL could eliminate the economics of DNS DDoS without breaking the internet. The attacker pays or the attacker can’t sustain volume. Some version of this will exist inside enterprise DNS infrastructure within five years, not because it’s a good idea for public DNS, but because the math of 54% of attacks originating in DNS and rising 80% annually leaves defenders with no cheaper option. The rest of the internet will keep DNS free because it has to. — N.P. Vincent