🌐 Developer Tools

DNS Lookup

Free online DNS lookup tool. Check A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records for any domain in real time. Use as a DNS checker, DNS record lookup tool, MX record lookup, SPF checker, DMARC checker, or nslookup online replacement. Automatically detects and highlights SPF and DMARC records in TXT results. Query all record types at once or select a specific type. Uses DNS-over-HTTPS for real-time results. No login required.

A, AAAA, MX, TXT, NS SPF checker DMARC checker Real-time lookup DNS-over-HTTPS
AdSense — 728×90 Leaderboard
DNS Lookup

Check DNS Records - A, AAAA, MX, TXT, NS, CNAME, SOA, CAA

🌐
Enter a domain name above and press Enter or click Look up.
Supports A, AAAA, MX, TXT, NS, CNAME, SOA and CAA record types.
AdSense — 728×90 Leaderboard
📋
Need WHOIS domain info?
Use the free WHOIS Lookup to check domain registration, expiry date, registrar and owner information for any domain.
WHOIS Lookup →
⭐ Ratings

Rate this tool

4.9
★★★★★
Based on 12,640 ratings
5
11,882
4
506
3
126
2
126
1
0
Was this DNS lookup tool helpful?
Thank you!
Key features

Everything the DNS Lookup Tool Does

🔍
All DNS Record Types
Query A (IPv4 address), AAAA (IPv6), MX (mail servers), TXT (text and verification), NS (name servers), CNAME (aliases), SOA (zone authority) and CAA (certificate authority) records.
📧
MX Record Lookup
Check mail exchange records with priority values. Instantly see which mail servers handle email for any domain. Shows all MX records ordered by priority for email deliverability diagnosis.
🛡
SPF Record Checker
Automatically detects and highlights SPF records within TXT results. An SPF record starting with v=spf1 is colour-coded blue with an SPF badge so it stands out from other TXT records.
📬
DMARC Record Checker
Automatically queries _dmarc.domain when checking TXT records and highlights DMARC records with a purple badge. View your DMARC policy (none, quarantine or reject) at a glance.
TTL Display
Every record shows its Time To Live (TTL) value in seconds, helping you understand how long each record is cached. Useful for planning DNS changes and understanding propagation timing.
🌐
DNS-over-HTTPS
Uses the Cloudflare DNS-over-HTTPS API for real-time lookups with no rate limits and no caching by this tool. Results reflect what Cloudflare's resolver sees, which is authoritative and current.
📋
Copy Results
Copy any individual record's data with one click, or copy all results at once as formatted text for sharing in issue trackers, Slack messages or documentation.
📱
Query All Types at Once
Select "All types" to query A, AAAA, MX, TXT, NS, CNAME, SOA and CAA in one go. Results are organised by record type with count badges. Only record types that return data are shown.
Instant & Free
No login, no API key, no registration. DNS lookups complete in under a second. Works directly in the browser using DNS-over-HTTPS - no server-side proxying of your queries.
How to use

How to Use the DNS Lookup Tool

1
Enter the domain name
Type the domain name in the input field. Enter just the domain (e.g. example.com) without http:// or www. The tool automatically strips any protocol prefix or path. You can also enter subdomains like mail.example.com or _dmarc.example.com directly.
2
Choose a record type
Use the quick type buttons (A, AAAA, MX, TXT, NS, CNAME, SOA, CAA) to select a specific record type, or leave it on All to query all record types simultaneously. The type selector dropdown and quick buttons are synchronised.
3
Press Enter or click Look up
Press Enter in the domain field or click the Look up button. The tool queries the Cloudflare DNS-over-HTTPS API in real time and displays results within one second. If you selected All, it makes parallel queries for all record types.
4
Read the results
Each record is shown as a card with the record type, TTL (time to live), data, and for MX records, the priority. SPF records are highlighted blue, DMARC records purple. In All mode, switch between record type tabs to navigate results.
5
Check SPF and DMARC
For email configuration, select the TXT record type. The tool automatically detects SPF records (starting with v=spf1) and DMARC records (from _dmarc.yourdomain.com) and highlights them with coloured indicators and labels.
6
Copy results
Click the Copy button on any individual record to copy its data, or use Copy all results at the top of the results panel to copy all records as formatted text. This is useful for sharing DNS configurations in support tickets or documentation.
Competitor comparison

DNS Lookup Tool: LazyTools vs Competitors

Most online DNS checkers work well for basic lookups but few automatically detect and highlight SPF and DMARC records within TXT results or query all record types simultaneously in one request.

FeatureLazyToolsmxtoolbox.comdnschecker.orgnslookup.io
All record typesYes (8 types)YesYesYes
All types in one queryYes (parallel)One at a timeOne at a timeOne at a time
SPF auto-detectionYes (highlighted)Yes (separate tool)NoNo
DMARC auto-detectionYes (highlighted)Yes (separate tool)NoNo
TTL displayedYesYesYesYes
Copy individual recordsYesNoNoYes
No login requiredYesYesYesYes
No ads blocking resultsYesHeavy adsHeavy adsAds
DNS record types guide

DNS Record Types: Complete Reference

DNS (Domain Name System) is the distributed database that maps human-readable domain names to the technical information computers need to connect. Each DNS record type serves a specific purpose.

Record typeCodePurpose
AddressAMaps domain to IPv4 address (e.g. 93.184.216.34)
IPv6 AddressAAAAMaps domain to IPv6 address (e.g. 2606:2800:220:1:248:1893:25c8:1946)
Mail ExchangeMXSpecifies mail servers; includes priority (lower = higher priority)
TextTXTArbitrary text; used for SPF, DMARC, DKIM, site verification
Name ServerNSSpecifies authoritative DNS servers for the domain
Canonical NameCNAMEAlias pointing one domain to another domain name
Start of AuthoritySOAZone authority record with primary NS, admin email, serial
CA AuthorizationCAARestricts which CAs can issue SSL/TLS certificates for the domain

MX record lookup: diagnosing email problems

The MX record lookup is the most common reason people use a DNS checker. Email delivery problems almost always trace back to misconfigured MX records. An MX record specifies which mail server accepts email for a domain and its priority. Google Workspace uses aspmx.l.google.com (priority 1) as the primary MX server. Microsoft 365 uses a pattern like domain-com.mail.protection.outlook.com. If your MX records point to the wrong server, email bounces. If priority values are misconfigured, email may not flow correctly to your primary server.

SPF checker: prevent email spoofing

SPF (Sender Policy Framework) records are stored as TXT records and specify which IP addresses and mail servers are authorised to send email from your domain. An SPF record looks like: v=spf1 include:_spf.google.com ~all. The ~all (softfail) mechanism means emails from unlisted servers should be marked as spam. The -all (hardfail) mechanism means they should be rejected outright. This tool automatically detects and highlights SPF records in TXT results, with a blue badge and colour-coded border.

DMARC checker: enforce email authentication

A DMARC record is stored as a TXT record at _dmarc.yourdomain.com and tells receiving servers what to do with emails that fail SPF and DKIM checks. A DMARC record looks like: v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com. The p= policy can be none (monitor only), quarantine (send to spam), or reject (block entirely). This DNS lookup tool automatically queries _dmarc.yourdomain.com when you run a TXT lookup, highlighting the DMARC record with a purple badge.

DNS propagation checker: understanding TTL

DNS propagation is the delay between making a DNS record change and that change being visible worldwide. When you update an A record, the change is instant on your authoritative name server, but other DNS resolvers around the world cache the old record until its TTL (Time to Live) expires. If your A record has TTL 86400 (24 hours), the old record continues to be served for up to 24 hours. To minimise propagation delay before a planned change, reduce the TTL to 300 (5 minutes) at least 24 hours before the change. Then make the change. TTL values are shown for every record in this tool.

nslookup online: the web alternative

nslookup is a command-line tool available on Windows, Mac and Linux for querying DNS records. This DNS lookup tool is the online equivalent - it uses the same DNS-over-HTTPS API that modern DNS resolvers use and returns the same information as nslookup from the command line. The advantage of an online tool is that it always queries from a cloud resolver, so results represent what most internet users see rather than what your local ISP's DNS cache shows.

CAA records: restricting SSL certificate issuance

CAA (Certificate Authority Authorization) records allow domain owners to specify which Certificate Authorities (CAs) are permitted to issue SSL/TLS certificates for their domain. For example, a CAA record with value 0 issue "letsencrypt.org" means only Let's Encrypt can issue certificates. If another CA tries to issue a certificate for your domain, they must check your CAA records and refuse if not listed. CAA records help prevent fraudulent SSL certificate issuance and are required by some browsers for extended validation certificates.

FAQ

Frequently Asked Questions

A DNS lookup queries the Domain Name System to retrieve records for a domain. These records map domain names to IP addresses (A records), mail servers (MX records), verification strings (TXT records), and more. DNS lookups diagnose email problems, verify domain ownership, check SSL records and troubleshoot connectivity.
An A record maps a domain to an IPv4 address (e.g. 93.184.216.34). When you type a domain in a browser, DNS resolves the A record to find the server's IP. A domain can have multiple A records for load balancing. The TTL determines how long resolvers cache the record.
An MX record specifies the mail servers handling email for a domain, with a priority value (lower = higher priority). Google Workspace uses aspmx.l.google.com at priority 1. Enter your domain above and click MX to check. MX record problems are the most common cause of email delivery failures.
An SPF record is a TXT record specifying which servers can send email from your domain. It prevents spoofing. Example: v=spf1 include:_spf.google.com ~all. This tool automatically detects and highlights SPF records in TXT results with a blue badge.
A DMARC record at _dmarc.yourdomain.com tells receiving servers how to handle emails failing SPF/DKIM checks. Example: v=DMARC1; p=reject; rua=mailto:dmarc@example.com. This tool queries _dmarc.yourdomain.com and highlights the record in purple automatically.
TTL (Time to Live) is how long a DNS record is cached before resolvers re-query the authoritative server. TTL 3600 = cached 1 hour. Lower TTLs (300 = 5 min) speed propagation after changes. Higher TTLs (86400 = 24 h) reduce DNS load. Every record in this tool shows its TTL value.
A CNAME creates an alias from one domain to another. Example: www.example.com CNAME example.com means www always follows wherever example.com points. CNAMEs cannot coexist with other records for the same name, so root domains cannot be CNAMEs.
DNS propagation is the time for changes to spread globally. Changes are instant on your authoritative server but cached resolvers serve old records until TTL expires. Full propagation takes 24-48 hours for high-TTL records, or 15-30 minutes for 5-minute TTLs. Use this tool to check if your changes have propagated.
Related tools

More free developer tools