DNS Records Library
A powerful DNS helper library that quickly discovers and retrieves all DNS records for any domain. Works seamlessly across browsers, Node.js, CloudFlare Workers, Deno, and Bun.
Quick start
Get DNS records for any domain in just a few steps
Key features
Everything you need for comprehensive DNS record discovery
Multiple record types
Retrieve A, AAAA, TXT, MX, CNAME, NS, SOA, CAA, and more DNS record types
Subdomain discovery
Automatically discover subdomains from common lists and DNS records
Wildcard detection
Detect and group wildcard DNS records automatically
Multiple resolvers
Choose from Cloudflare, Google, Node.js, or Deno DNS resolvers
Cross-runtime
Works in browsers, Node.js, CloudFlare Workers, Deno, and Bun
Streaming API
Stream DNS records as they’re discovered for large result sets
Explore the documentation
Learn more about DNS Records and how to use it effectively
Core Concepts
Understand DNS resolvers, record types, wildcard detection, and subdomain discovery
Learn more
API Reference
Complete API documentation for all functions, parameters, and return types
View API docs
Examples & Guides
Real-world examples, error handling patterns, and performance optimization tips
Browse examples
Cross-Runtime Support
Use DNS Records in any JavaScript runtime: browsers, Node.js, Deno, Bun, and more
View runtime guide
Ready to get started?
Start discovering DNS records in your application today with our quick start guide
View Quickstart