🎁 Get $100 FREE on your first $500 recharge·Limited-time bonus for new users·Sign up & claim your $100 instantly·$100 bonus on $500+ first deposits·Apply once, instant credit on signup·
* T&C apply
Live records, free, no signup

DNS lookup for A, AAAA, MX, TXT, NS, CNAME & SOA records

Enter any domain and check its DNS records instantly — IP addresses, mail servers, SPF and DMARC text records, name servers and more. A fast DNS checker for email deliverability, site migrations and debugging.

Free No signup Every record type Copy-ready values

Live DNS resolution via our server — no signup. Press Enter to look up.

Your DNS records will appear here

Enter any domain and pick a record type — A, AAAA, MX, TXT, NS, CNAME, SOA, or all at once.

Lookups run live in your browser through the Serpbays server — nothing is stored.

What you get

Every DNS record that matters, in one lookup

A & AAAA records

The IPv4 and IPv6 addresses a domain points to — the first thing to check when a site will not load or has just moved host.

MX records

The mail servers that accept email for the domain, with priorities, so you can confirm email routing before go-live.

TXT records

SPF, DKIM, DMARC and verification strings in full — the records that decide whether your email lands in the inbox.

NS & SOA records

Authoritative name servers plus the SOA serial and timers, so you know exactly who runs a domain’s DNS.

CNAME aliases

See where a hostname is aliased — essential for subdomains pointed at a CDN, SaaS app or landing-page host.

TTL on every row

The cache lifetime of each record, so you can predict how fast a change will propagate before you make it.

A DNS lookup translates a domain name into the records that tell the internet how to reach it, and it updates live every time you run it. That one query answers a surprising number of practical questions: which server a site lives on, where its email is delivered, whether its SPF and DMARC are set up correctly, who runs its name servers, and how long any of those answers will stay cached. A good dns lookup tool, or dns checker, surfaces all of that in a single view — A, AAAA, MX, TXT, NS, CNAME and SOA records together — so you are not running seven separate commands to understand one domain. This guide explains what DNS is, what each record type does, how resolution and propagation actually work, and how to use a dns record lookup for the jobs that come up most: email deliverability, site migration and everyday debugging.

What is DNS, in plain terms?

DNS, the Domain Name System, is the internet’s address book. Humans remember names like serpbays.com; machines route traffic using IP addresses like 192.0.2.10. DNS is the distributed, hierarchical database that maps one to the other, along with a handful of other record types that handle email, aliases and administrative data. Every time you load a page, send an email or call an API, a DNS lookup happens first — usually in a few milliseconds and completely invisibly.

The system is hierarchical. At the top are the root servers, below them the top-level-domain servers for .com, .org, .io and the rest, and below those the authoritative name servers for each individual domain. A dns records checker like the tool above walks that hierarchy for you and returns the final, authoritative answers so you can read them directly.

The DNS record types, one by one

Most domains publish a small set of record types. Knowing what each one does is the key to reading any lookup, so here is the working set this tool returns.

  • A record (a record lookup): maps a hostname to an IPv4 address. This is the record that answers “what server is this site on?” and the first one to check when a site will not load.
  • AAAA record: the IPv6 equivalent of an A record. As IPv6 adoption grows, more domains publish both; a missing AAAA is not a fault, just an absence of IPv6.
  • CNAME record: an alias that points one hostname at another hostname rather than at an IP. Subdomains pointed at a CDN, a help-desk app or a landing-page builder almost always use a CNAME.
  • MX record (mx record lookup): lists the mail servers that accept email for the domain, each with a priority number — lower is tried first. No MX record means the domain cannot receive email.
  • TXT record (txt record lookup): free-form text at a DNS name, used for domain verification and, crucially, for the SPF, DKIM and DMARC records that authenticate your email.
  • NS record (ns lookup): the authoritative name servers for the domain — the servers that hold the real, canonical answers. These tell you which DNS provider the domain uses.
  • SOA record: the start-of-authority record. It names the primary name server and the zone administrator and carries the serial number plus refresh, retry, expire and minimum-TTL timers.
  • PTR record: the reverse of an A record — it maps an IP address back to a hostname, and lives in a special reverse-DNS zone. It is important for mail-server reputation, though it is queried by IP rather than by domain name.

Choose any single type in the selector to focus on it, or leave it on ALL to see every record type the domain publishes in one pass. Reading them together is often the quickest way to understand a domain: the A record tells you where the website lives, the MX and TXT records tell you how its email is handled and authenticated, and the NS and SOA records tell you who controls the whole zone. A single dns records checker view saves you from stitching that picture together from separate queries.

How DNS resolution actually works

When you ask for a record, the request usually goes to a recursive resolver — often run by your ISP, or a public one like 8.8.8.8 or 1.1.1.1. The resolver does the legwork: it asks a root server where to find the .com servers, asks those where to find the domain’s name servers, then asks the domain’s authoritative name servers for the actual record. It caches each answer along the way so the next lookup is faster.

That distinction — recursive vs authoritative — matters when you debug. The authoritative name servers (your NS records) hold the truth; recursive resolvers hold possibly-stale copies. If a change looks live when you query the authoritative server directly but not through your ISP, you are looking at caching, not a configuration error. A modern option is DNS over HTTPS (DoH), which wraps these same queries in encrypted HTTPS so they cannot be read or tampered with on the network; the records returned are identical, only the transport is private.

TTL and propagation: why changes take time

Every record carries a TTL — time to live, in seconds — that tells resolvers how long they may cache it. A TTL of 300 means five minutes; 3600 means an hour; 86400 means a full day. The TTL is the single biggest factor in how quickly a DNS change “propagates.”

Propagation is really just caches expiring. When you edit a record, the authoritative name servers update instantly, but resolvers around the world keep serving the old value until its TTL runs out. That is why a new site can appear for you and not for a colleague on a different network for minutes or hours. The fix is simple planning: lower the TTL on the records you are about to change a day or two in advance, make the change, confirm it with a lookup, then raise the TTL again once everything is stable.

TTL valueCached forGood for
3005 minutesImminent migrations, fast failover
36001 hourRecords that change occasionally
8640024 hoursStable records, lighter on name servers

Using DNS lookup for email deliverability

Email is where a dns checker earns its keep. Whether your messages reach the inbox or the spam folder is decided largely by a few DNS records, and a quick lookup confirms they are all in place.

Start with an mx record lookup to confirm mail is routed to the right servers — your provider (Google Workspace, Microsoft 365, or your own host) publishes specific MX hostnames, and a typo or a leftover record from an old provider will quietly break delivery. Then run a txt record lookup and check the three authentication records:

  • SPF — a TXT record beginning v=spf1 that lists which servers are allowed to send mail for your domain. Only one SPF record is permitted; two will fail.
  • DKIM — a TXT record at a selector name (for example selector._domainkey.yourdomain) holding the public key that verifies your mail’s cryptographic signature.
  • DMARC — a TXT record at _dmarc.yourdomain that tells receiving servers what to do when SPF or DKIM fail, and where to send reports.

Missing or malformed SPF and DMARC are the most common reasons legitimate mail is flagged, and since 2024 the large mailbox providers effectively require DMARC for bulk senders. A two-minute TXT lookup is the fastest way to catch a gap before a campaign goes out.

Using DNS lookup for site migrations

Moving a site to a new host or DNS provider is almost entirely a DNS exercise, and a lookup is your verification tool at every step. Before the move, run a full ALL lookup and save the current records as a reference — A/AAAA for the web server, MX and TXT for email, CNAMEs for any subdomains, and the NS records for the current provider.

Lower the TTLs a day ahead so the cutover is quick. After you update the records, run the lookup again and confirm each one shows the new value. The most-missed detail in migrations is email: people repoint the A record, forget the MX and TXT records, and silently stop receiving mail. Checking MX and TXT right after the switch catches that immediately. Because DNS is also the layer where HTTPS is anchored, pair the move with an SSL certificate check to confirm the new server is serving a valid certificate for the domain once it resolves.

Using DNS lookup for debugging

When something is “down,” DNS is the first place to look, because a site that will not load is often a DNS problem rather than a server problem. A short checklist handles most incidents:

  • Site won’t load: run an A/AAAA lookup. No record, or an unexpected IP, points straight at the cause.
  • Email bouncing: check MX for the right mail servers and TXT for a valid SPF policy.
  • Subdomain broken: check its CNAME — a CDN or SaaS alias that was removed or mistyped is a frequent culprit.
  • Changes not showing: compare the TTL with how long ago you edited the record; you are probably waiting on a cache.
  • Wrong DNS provider: an NS lookup confirms which name servers are actually authoritative, which catches domains still pointed at an old registrar.

DNS lookup vs dig and nslookup

If you have ever used a terminal, you know dig and nslookup. This tool does the same job in the browser. Where you would type dig example.com MX or nslookup -type=mx example.com, you pick MX in the selector and read the result formatted in a table with copy buttons. The equivalents line up directly:

Goaldig commandThis tool
Find the IPdig example.com ASelect A
Mail serversdig example.com MXSelect MX
SPF / DMARCdig example.com TXTSelect TXT
Name serversdig example.com NSSelect NS
Everythingdig example.com ANYSelect ALL

The trade-off is control versus convenience. dig lets you query a specific resolver, trace the full delegation path and script bulk checks; the browser tool gets you every common record type, cleanly formatted, without leaving the page. For most day-to-day checks the browser is faster; for deep delegation debugging, reach for dig +trace.

Authoritative vs recursive, and DNS over HTTPS

It is worth restating the two roles because they explain most confusing results. Authoritative name servers (your NS records) are the source of truth for a domain. Recursive resolvers are the intermediaries that look answers up on your behalf and cache them. When a lookup here disagrees with what your browser does, the cause is almost always a recursive cache holding an older copy — not a mistake in your zone.

DNS over HTTPS and its cousin DNS over TLS add privacy to the recursive step by encrypting the query between you and the resolver. They do not change the records themselves or who is authoritative; they stop a network operator from seeing or altering your lookups. If your browser uses DoH, its answers and this tool’s answers should match once caches align, because both ultimately ask the same authoritative servers.

Privacy: lookups run through our server

This DNS lookup runs the query on the Serpbays server and returns the records to your browser. That keeps the tool fast and consistent across networks, and it means you can check records from behind a restrictive corporate resolver that might otherwise block or rewrite DNS. We do not store the domains you look up or build a history from them — each lookup is a fresh query. For records that depend on your own network, such as how a local resolver caches a change, remember that a public lookup shows the authoritative answer, which may be ahead of what your own ISP is still serving.

Pair this tool with the rest of the free toolkit: confirm a domain’s certificate with the SSL checker, and browse the full set on the free SEO tools index. Enter a domain in the tool above to see all of its DNS records update in real time.

Pair it with the rest of the free toolkit

Checking a migration? Confirm the certificate with the SSL checker once the domain resolves. The full index of free utilities is at /tools.

Browse all free SEO tools
FAQ

DNS lookup questions, answered

  • A DNS lookup is a query that translates a human-readable domain name such as example.com into the records that tell the internet how to reach it — the IP address behind the site, the mail servers that accept its email, and the text records used for verification. This tool queries a public resolver through our server and returns A, AAAA, MX, TXT, NS, CNAME and SOA records in one view.

  • An A record maps a domain to an IPv4 address, and an AAAA record maps it to an IPv6 address. A CNAME record points one hostname at another hostname (an alias) rather than at an IP. An MX record lists the mail servers that receive email for the domain, each with a priority number. Use the record-type selector above to view any one type on its own.

  • Select MX in the record-type selector and run the lookup. You will see each mail server (its hostname) and its priority, where the lowest number is tried first. For full deliverability, also check the TXT records for your SPF, DKIM and DMARC policies — missing or broken SPF and DMARC are the most common reasons legitimate mail lands in spam.

  • A TXT record stores arbitrary text at a DNS name. It is used for domain-ownership verification and, most importantly, for email authentication. SPF (a TXT record starting v=spf1) lists who may send mail for you, DKIM publishes the public key that signs your mail, and DMARC (at _dmarc.yourdomain) tells receivers what to do when SPF or DKIM fail. Run a TXT lookup to confirm all three are present and well-formed.

  • TTL (time to live) is how long, in seconds, a resolver is allowed to cache a record before asking the authoritative name server again. A low TTL such as 300 (five minutes) means changes propagate quickly but resolvers query more often; a high TTL such as 86400 (one day) is cached longer and is lighter on the name servers. Lower your TTL a day or two before a planned migration so the cutover is fast.

  • DNS “propagation” is really caching. When you change a record, resolvers around the world keep serving the old value until its TTL expires, so different networks can see different answers for minutes or hours. This tool queries fresh each time, but a local ISP resolver may still hold a cached copy. To speed things up, lower the TTL before the change and flush your own resolver cache afterwards.

  • NS records list the authoritative name servers for a domain — the servers that hold the real answers for it. The SOA (start of authority) record names the primary name server and the zone’s administrator, and carries the serial number and refresh, retry and expiry timers that control how secondary servers stay in sync. Together they tell you who runs a domain’s DNS and whether a zone transfer is healthy.

  • Yes, in effect. dig example.com MX or nslookup -type=mx example.com on the command line return the same records this tool shows in the browser. The difference is convenience: you get every record type formatted in one page, with copy buttons, without opening a terminal. Under the hood both approaches ask a resolver the same question over DNS.

Healthy DNS is step one

Getting a domain resolving is the start. Getting it ranked is the next step — that takes authority links. See how Serpbays builds them.

Start free on Serpbays