Network & API6 min read

DNS Lookup: Check A, MX, TXT, NS Records Online

Query DNS records for any domain: A, AAAA, MX, CNAME, TXT, NS, SOA, CAA, and PTR. Instant lookup with TTL and details.

Try the free online tool mentioned in this guide:DNS Lookup

What is DNS?

The Domain Name System (DNS) translates human-readable domain names to IP addresses. When you type example.com in a browser, DNS queries nameservers to find the IP of the server hosting that domain.

DNS records are stored in different types, each serving a purpose:

Common DNS record types

  • A — Maps domain to IPv4 address. example.com → 93.184.216.34
  • AAAA — Maps to IPv6 address.
  • CNAME — Canonical name (alias). www.example.com → example.com
  • MX — Mail exchange servers. Routes email to mail servers.
  • TXT — Text records. Used for email authentication (SPF, DKIM, DMARC).
  • NS — Nameservers. Authoritative servers for the domain.
  • SOA — Start of Authority. Metadata about the zone.
  • CAA — Certification Authority Authorization. Restricts SSL cert issuance.

DNS lookup scenarios

Email issues — Check MX records to ensure mail is routing correctly.

SSL certificate warnings — Verify domain A record matches server IP.

Email spoofing prevention — Check SPF/DKIM/DMARC TXT records.

Domain migration — Update A/CNAME records when moving servers.

Debugging nameservers — Verify NS records point to correct nameservers.

How to read DNS lookup results

TTL (Time To Live) — Seconds before DNS caches expire. Lower TTL = faster updates but more queries.

Priority (MX records) — Lower number = higher priority. Mail servers are tried in order.

Flags (SOA, DKIM) — Metadata about record flags and policies.

Frequently asked questions

Why does my DNS change take time?

DNS changes propagate via caches. TTL determines how long caches hold old records. Wait for TTL to expire before rechecking.

Can I change DNS records with this tool?

This tool is read-only. Changes are made in your domain registrar or hosting DNS panel.

What if a record is missing?

The nameserver has no record for that type. Add it in your DNS provider\'s control panel.

Try DNS Lookup for free

Query DNS records for any domain: A, AAAA, MX, TXT, NS, CNAME, SOA, CAA, and PTR. See TTL, mail server priority, and SOA details. No install, no account required to try it.