DNS Lookup: Check All DNS Records of a Domain in One Search
Enter a domain to see its A, AAAA, CNAME, MX, NS, TXT and SOA records at once, with their TTL. Find who hosts the website, who receives the email and which nameservers answer for the domain.
Results
- 7 record types in one check
- Live DNS answers with TTL
- Free, no signup
What this DNS lookup shows
One search returns every common record type for the name you enter. Each record comes with its TTL, the number of seconds resolvers can cache it.
| Record | What it tells you | Example |
|---|---|---|
| A | The IPv4 address of the domain (website or service) | 203.0.113.10 |
| AAAA | The IPv6 address of the domain | 2001:db8::10 |
| CNAME | An alias: this name points to another host name | www.github.com to github.com |
| MX | The mail servers that receive email, with their priority | 10 mx1.provider.com |
| NS | The nameservers that hold the domain's DNS zone | ns1.registrar.com |
| TXT | Text records: SPF, domain verifications and more | v=spf1 include:_spf.google.com ~all |
| SOA | Zone details: primary nameserver, admin contact, serial and timers | ns1.example.com hostmaster.example.com |
Need one record type only, or more detail? Use the dedicated tools: MX Lookup for mail servers, TXT Lookup for SPF and verification records, CNAME Lookup for aliases and PTR Lookup for reverse DNS.
How to check the DNS records of a domain
Four steps to read a DNS lookup and spot what is wrong.
Enter the exact name
Type the domain (example.com) or the full subdomain (www.example.com, mail.example.com). Records are per name: a CNAME on www does not exist on the root domain.
Read the nameservers first
The NS records show who controls the DNS zone. If they are not the provider where you edit your records, your changes will never show up.
Check the record you changed
Find the A, MX or TXT value you edited. If you still see the old value, wait for the old TTL to expire, then search again.
Go deeper with a dedicated tool
Use the MX, TXT, CNAME or PTR lookup for one record type, or the SPF, DKIM and DMARC checker to validate email records.
Related mailX tools
One record type, in more detail.
Nameserver lookup, A record lookup and SOA lookup
Nameserver (NS) lookup
NS records list the servers that are authoritative for the domain. They are set at your registrar. After moving your DNS to a new provider (Cloudflare, Route 53, your host), the NS records must point to the new nameservers, or the records you add there are ignored.
A and AAAA record lookup
A records give the IPv4 address of a name, AAAA records its IPv6 address. They tell you which server hosts the website. A domain can have several A records for load balancing.
SOA lookup
The SOA (Start of Authority) record describes the zone: its primary nameserver, the administrator's address (with a dot instead of the @), a serial number that changes with each edit, and the refresh, retry, expire and minimum TTL timers.
Why don't I see my new DNS record yet?
Resolvers cache records for the duration of their TTL. After a change, some resolvers keep serving the old value until that time runs out. Lowering the TTL a day before a planned change makes the switch faster.
How to do a DNS lookup from the command line
Replace example.com with your domain and MX with the record type you want (A, AAAA, CNAME, NS, TXT, SOA).
macOS and Linux (dig):
dig example.com NS +short
Windows (Command Prompt):
Windows (PowerShell):
Reading your DNS lookup results
Common findings and what to do next.
Records found
The domain resolves. Check the values against what your providers asked you to publish.
No MX record
The domain cannot receive email unless senders fall back to its A record. Add the MX records your email provider gives you.
Unexpected nameservers
Your records are managed somewhere else than you think. Edit them at the provider shown in the NS records.
Old value still showing
The previous record is still cached. Wait for its TTL to expire before searching again.
CNAME on the root domain
A CNAME cannot sit next to other records on the same name. Use it on a subdomain such as www.
No SPF in the TXT records
Receivers cannot check who may send for the domain. Create an SPF record with the SPF generator.
DNS guides
Understand the records behind your domain.
Your DNS answers. Are your email records right?
Check SPF, DKIM and DMARC for your domain in one free test, with the fix for every error.