# DNS Lookup

> Check a domain's A, AAAA, CNAME, MX, NS, TXT, CAA and SOA records in one lookup, with TTLs and an SPF and DMARC check.

- Type: free tool that runs live SandBase APIs
- Category: Developer tools
- Daily free uses: 60
- Page: https://www.sandbase.ai/tools/developer/dns-lookup

## About

Every common DNS record for a domain in one lookup: A, AAAA, CNAME, MX, NS, TXT, CAA and SOA, with TTLs and a quick read of SPF, DMARC and site verifications.

## How it works

1. **Step 1** Type a domain or host name, such as example.com or www.example.com.
2. **Step 2** Run the lookup: all eight record types are queried at once through Cloudflare's 1.1.1.1 resolver.
3. **Step 3** Read each record type with its TTL, and the SPF and DMARC summary for email.

## FAQ

### What is a DNS lookup?

A query to the Domain Name System for the records stored for a name: where the website is hosted (A, AAAA, CNAME), where email goes (MX), who answers for the domain (NS) and text rules such as SPF (TXT).

### Why does my new DNS record not show up yet?

Resolvers cache each answer for its TTL. Until the old record's TTL runs out, this and other resolvers can still return the old value. Lookups here are also cached for five minutes.

### How do I check MX records?

Look up the domain and read the MX section: each row is a mail server with its priority. The lowest number is tried first. No MX records means the domain cannot receive email.

### How do I check SPF and DMARC?

SPF is a TXT record on the domain starting with v=spf1. DMARC is a TXT record on _dmarc.example.com starting with v=DMARC1: look up _dmarc.yourdomain.com to see it.

### What is a CAA record?

It lists the certificate authorities allowed to issue TLS certificates for the domain. With no CAA record, any authority may.

### Which resolver does this use?

Cloudflare's public resolver (1.1.1.1) over DNS over HTTPS. It answers from its cache or asks the domain's name servers.

### Is this DNS lookup free?

Yes, with no sign-up. Each network can run plenty of lookups an hour.
