Building a Fast Domain Search Architecture (RDAP + DNS + WHOIS)
How we engineered a low-latency, correction-aware domain availability engine combining RDAP, DNS delegation, WHOIS, and streaming UI updates.
By Engineering Team•8/7/2025•2 min read
architecturerdapwhoisdnsstreamingFeatured
Building a Fast Domain Search Architecture (RDAP + DNS + WHOIS)
Delivering sub-200ms perceived latency for bulk domain availability requires layering protocols, caching, and progressive disclosure. This post breaks down the system powering our search.
Goals
- Instant feedback (<150ms first paint)
- High accuracy (minimize false "available")
- Cost-efficient (no paid APIs)
- Extensible pricing enrichment
Layer Stack
- RDAP Quick Hint – 100–140ms timeout, first authoritative attempt.
- RDAP Consensus – Multi-endpoint longer window for definitive status + metadata (dates, statuses).
- DNS Delegation Check – SOA/NS/A tri-probe to override false availables.
- WHOIS Fallback – Bulk port-43 for non-definitive "available" responses.
- Price Enrichment – Async registrar adapters (Porkbun, Gandi, more coming).
- Streaming NDJSON – Incremental delivery: availability → corrections → prices.
Event Types
Event | Purpose |
---|---|
availability | Initial status (may be provisional) |
correction | Overrides earlier optimistic result |
price | Price + registrar details |
done | Completion sentinel |
Accuracy Tactics
- Parallelized RDAP with fastest-wins + consensus
- DNS tri-type verification (SOA/NS/A) cached 30m
- WHOIS only for ambiguous availables
- RDAP dates (created, updated, expires) surfaced to UI
- Premium heuristic (price threshold) styling
Caching Windows
Layer | TTL |
---|---|
RDAP bootstrap | 24h |
Quick RDAP | 5m |
Availability micro-cache | 60s |
DNS delegation | 30m |
WHOIS results | 5m |
Price cache | 30m |
Streaming UX
- Sort available first, then alphabetical.
- Corrections merge seamlessly (stateful map keyed by domain).
- Prices slot in without reordering unless availability changed.
Future Enhancements
- Confidence scoring badge
- Multi-DoH resolver cross-check
- Expiry countdown tooltips
- Bulk export & API key tier
- Registrar coverage expansion (Namecheap, GoDaddy public offer scraping)
Want a deep dive into WHOIS parsing heuristics next? Let us know.