Free Tool

DNS Lookup Tool

Look up all DNS records for any domain - A, AAAA, MX, NS, TXT, SOA, CAA, and CNAME. Analyze email security and get a DNS health grade. Free, no signup required.

What You Get

Here's an example of the DNS records this tool reveals. Try it above with any domain.

A

DNS Health: A

example.com · 14 records found in 42ms

A Record93.184.216.34
AAAA Record2606:2800:21f:...
Nameserversa.iana-servers.net
MX Records10 mail.example.com
SPFFound
DMARCFound

The DNS lookup queries authoritative nameservers to retrieve every record type configured for your domain. You'll see A and AAAA records (your domain's IP addresses with TTL values), nameservers and SOA data (who manages your DNS zone), and MX records (where your email is routed).

The tool also performs an email security analysis, checking for SPF and DMARC records that protect your domain from email spoofing and impersonation. Combined with CAA record checks (which restrict certificate issuance), this gives you a comprehensive picture of your domain's DNS health.

Only interested in the delegation? The nameserver lookup tool goes deeper on NS records specifically: it resolves each nameserver to its own IP addresses, identifies which provider runs your DNS, and grades redundancy across networks.

Only checking email? The MX record lookup lists the mail servers with their priority, names the email provider behind them, and shows whether SPF and DMARC are set.

How It Works

1

Enter Domain

Type any domain name or URL. We'll extract the hostname and look up its DNS records.

2

We Query DNS Servers

Our server resolves all record types in parallel: A, AAAA, MX, NS, TXT, SOA, CAA, and CNAME, plus DMARC.

3

Get Your DNS Report

View every record, email security analysis, and an overall health grade. Copy, download, or share results instantly.

Look Up a Specific DNS Record Type

One lookup returns every record type. These guides explain the four that people most often come to check on their own.

A Record Lookup

An A record maps a hostname to an IPv4 address. It is the record a browser needs before it can connect, so with no A record (and no AAAA record for IPv6) there is no website. A domain may publish several A records. Resolvers return all of them and rotate the order, which spreads visitors across servers but does not notice when one of them is down.

example.com.    300    IN    A    93.184.216.34

Command line: dig example.com A +short

In the result above, A and AAAA records are listed under Address Records, each with its TTL.

  • The TTL is how long resolvers cache the address: 60 to 300 seconds is common before a planned move, 3600 for stable records.
  • Lower the TTL a day before you change hosting, so the old address has expired everywhere by the time you switch.
  • After a hosting move, an A record that still points at the old server shows the wrong site, or nothing at all.

How do I find the IP address of a domain?

Look up its A record. Enter the domain in the tool above and read the Address Records section, or run 'dig example.com A +short' in a terminal. The answer is the IPv4 address the domain points to. The AAAA record holds the IPv6 address.

Can a domain have more than one A record?

Yes. Several A records for the same name are valid and common. Resolvers return all of them in rotating order and the client usually connects to the first, which gives simple load spreading. DNS does not check whether a server is up, so real failover needs a load balancer or a DNS provider with health checks.

CNAME Lookup

A CNAME record is an alias: it points one hostname at another hostname instead of at an IP address. The resolver follows the alias and then looks up the address of the target. CNAMEs are how a subdomain is connected to a hosted service, for example blog.example.com to a site builder or cdn.example.com to a CDN.

blog.example.com.    3600    IN    CNAME    mysite.netlify.app.

Command line: dig www.example.com CNAME +short

In the result above, a CNAME appears under Address Records. Look up the exact subdomain, since a CNAME belongs to one name only.

  • A name with a CNAME cannot hold any other record, which is why the root of a domain (which needs MX and NS records) cannot be a plain CNAME. Use an A record there, or your DNS provider's ALIAS or CNAME flattening.
  • The target must resolve. If the service changes or removes its hostname, your subdomain breaks with it.
  • Keep chains short. Every extra alias is another lookup and another place to fail.

What is the difference between a CNAME and an A record?

An A record points a name at an IP address. A CNAME points a name at another name. Use a CNAME for a subdomain that should follow a third-party service when its addresses change. Use an A record when you control the address, or at the root of the domain where other records must live beside it.

Why is my CNAME not working?

Check four things. The CNAME exists on the exact subdomain you are testing. Its target resolves to an address. There is no A record on the same name competing with it. And the change has had time to spread, which takes as long as the old record's TTL. For a custom domain on a hosting platform, the domain must also be added in that platform's dashboard.

TXT Record Lookup

A TXT record stores a line of text in DNS. Today that text is mostly read by machines: SPF lists who may send email for the domain, DKIM publishes signing keys, DMARC sets the policy for failed mail, and services such as Google, Microsoft 365 and Stripe ask for a TXT record to prove you own the domain. One domain can hold many TXT records at once.

example.com.    IN    TXT    "v=spf1 include:_spf.google.com -all"

Command line: dig example.com TXT +short

In the result above, every TXT record is listed in the TXT Records section, and SPF and DMARC are also read out under Mail & Email Security.

  • SPF must start with exactly v=spf1, and a domain may have only one SPF record. Two is an error.
  • DMARC lives at _dmarc.yourdomain and DKIM at selector._domainkey.yourdomain, not on the domain itself.
  • Verification records such as google-site-verification= are safe to leave in place. Remove the ones for services you no longer use, since a very long TXT answer can be cut off.

How do I check the TXT records of a domain?

Enter the domain in the tool above and open the TXT Records section of the result, or run 'dig example.com TXT +short' in a terminal. For DMARC, look up _dmarc.example.com instead. This tool checks that name for you.

Why can a service not see the TXT record I added?

Usually it is too early: allow 5 to 15 minutes, longer if the old answer had a long TTL. Otherwise the record is on the wrong name (the root when the service wanted a subdomain, or the other way round), or your DNS provider wrapped the value in an extra pair of quotes. Look the domain up here to see the record exactly as the world sees it.

CAA Record Check

A CAA record names the certificate authorities that may issue SSL certificates for your domain. Every public CA must check it before issuing and must refuse if it is not listed. Without a CAA record, any CA may issue a certificate for the domain.

example.com.    IN    CAA    0 issue "letsencrypt.org"

Command line: dig example.com CAA +short

In the result above, CAA records have their own section with the tag and value of each, and a missing CAA record is noted in the grade details.

  • issue allows a CA to issue normal certificates, issuewild covers wildcard certificates, and iodef gives an address for reports about refused requests.
  • Common identifiers: letsencrypt.org, digicert.com, sectigo.com, pki.goog (Google Trust Services) and amazon.com (AWS Certificate Manager).
  • If a certificate renewal fails with a CAA error, the CA you use is missing from the record. Add it, or switch to a CA that is listed.

Do I need a CAA record?

It is optional, and your certificates work without one. Adding it is a small change that stops certificate authorities you never chose from issuing for your domain, and security audits often ask for it. List every CA you use before you add it, or the next renewal will be refused.

How do I check which CAs can issue certificates for my domain?

Look up the domain's CAA records with the tool above or with 'dig example.com CAA +short'. Each issue or issuewild line names one allowed certificate authority. If there are no CAA records at all, every public CA is allowed.

DNS Record Glossary

Plain-language definitions of every record type you will see in a DNS lookup.

A vs AAAA

A records map a hostname to an IPv4 address (4 bytes, e.g. 93.184.216.34). AAAA records map to IPv6 (16 bytes). Modern domains should publish both: IPv6 traffic is now significant on every major network.

CNAME

An alias that points one hostname at another hostname (not an IP). The resolver follows the chain until it finds an A or AAAA. CNAMEs cannot coexist with most other record types at the same name and cannot live at the apex (use ALIAS or ANAME at the apex).

MX

Mail exchanger records, where email for the domain should be delivered. Each record has a priority (lower = preferred) and a target hostname. The target must itself resolve to an A/AAAA, never to a CNAME.

TXT, SPF, DKIM, DMARC

TXT records hold arbitrary text. Email authentication uses three of them: SPF (v=spf1 ...) lists allowed sending servers, DKIM publishes a public key for signing outgoing mail, and DMARC (_dmarc subdomain) tells receivers what to do when SPF or DKIM fails.

NS and SOA

NS records list the authoritative nameservers for the zone. SOA (Start of Authority) holds zone metadata: primary nameserver, admin email, serial number, and refresh/retry timers used by secondary nameservers.

CAA

Certificate Authority Authorization. Restricts which CAs are allowed to issue certificates for the domain. Without a CAA record, any public CA can issue. With one, only the listed CAs can: a cheap and effective defense against misissuance.

TTL (Time To Live)

How long resolvers may cache a record before re-querying. Low TTL (60s) makes changes propagate fast but increases DNS load. High TTL (24h) reduces load but means changes take longer to take effect. Lower TTLs before planned migrations.

Common DNS Issues

The misconfigurations and resolver errors that hurt DNS health, and how to spot them.

NXDOMAIN

Non-existent domain

The DNS resolver returned NXDOMAIN: the domain has no record at all. Either the domain is unregistered, the nameservers do not know it, or the apex record is missing. Confirm the domain is spelled correctly and the registrar's nameservers match what is configured at the registry.

SERVFAIL

Server failure

The authoritative nameserver could not produce an answer, usually a DNSSEC validation failure, an unreachable upstream, or a misconfigured zone. Re-check zone data and DNSSEC signing if you have it enabled.

No MX record

Domain cannot receive email

Without MX records, mail servers fall back to the A record (or refuse delivery entirely). If the domain should receive email, add MX records pointing at your mail provider with appropriate priorities (10, 20, ...).

Missing SPF

Anyone can spoof email from your domain

An SPF TXT record (v=spf1 ...) tells receivers which servers are allowed to send mail as you. Without it, your domain is trivial to spoof in phishing campaigns and your legitimate mail is more likely to land in spam.

Missing DMARC

No policy for failed authentication

DMARC tells receiving servers what to do with email that fails SPF or DKIM checks (reject, quarantine, or none). A _dmarc TXT record with at least p=none gives you reporting; p=quarantine or p=reject actually stops spoofing.

Missing CAA

Any CA can issue a certificate for your domain

CAA records restrict which certificate authorities can issue SSL/TLS certificates for your domain. Without CAA, a misissuance attack against any trusted CA can produce a valid cert for your domain. Adding 'CAA 0 issue "letsencrypt.org"' (or your CA of choice) closes that gap.

Single nameserver

No DNS redundancy

Best practice is at least two nameservers, ideally on different networks. A single NS is a single point of failure: when it goes down, your entire domain becomes unreachable.

Frequently Asked Questions

This tool queries DNS servers to retrieve all DNS records for a domain. It shows A (IPv4), AAAA (IPv6), CNAME, MX (mail), NS (nameservers), TXT, SOA (start of authority), and CAA records. It also analyzes your email security configuration (SPF and DMARC) and gives your DNS setup a health grade.

Yes, completely free with no signup required. Enter any domain and get instant results. There are no daily limits.

A records map a domain to an IPv4 address. AAAA records map to IPv6. CNAME creates an alias pointing to another domain. MX records specify mail servers and their priority. NS records define the authoritative nameservers for the domain. TXT records hold text data often used for email authentication (SPF, DKIM, DMARC). SOA contains zone authority information like the primary nameserver and admin contact. CAA restricts which certificate authorities can issue SSL certificates for the domain.

The grade evaluates your DNS configuration across several criteria: whether you have A/AAAA records for availability, multiple nameservers for redundancy, MX records for email delivery, SPF and DMARC records for email security, CAA records for certificate security, and a proper SOA record. An A+ grade means your DNS is well-configured across all categories.

SPF (Sender Policy Framework) is a TXT record that specifies which mail servers are authorized to send email for your domain, helping prevent spoofing. DMARC (Domain-based Message Authentication, Reporting & Conformance) builds on SPF and DKIM to tell receiving servers what to do with unauthenticated emails. Both are essential for protecting your domain from email impersonation and improving deliverability.

CAA (Certificate Authority Authorization) records specify which certificate authorities (CAs) are allowed to issue SSL/TLS certificates for your domain. Without CAA records, any CA can issue a certificate, increasing the risk of unauthorized certificate issuance. Adding CAA records is a simple but effective security measure.

DNS records can vary depending on which DNS resolver you query, due to caching and propagation delays. After making DNS changes, it can take anywhere from minutes to 48 hours for changes to propagate globally, depending on the record's TTL (Time To Live). This tool queries from the server's perspective, which may differ from your local resolver.

Yes! exit1.dev is rolling out continuous DNS monitoring. You can track DNS record changes, get alerts when records change unexpectedly, and monitor DNS resolution health around the clock, catching misconfigurations and hijacking attempts before they affect your users.

Last updated · Built and maintained by exit1.dev: uptime, SSL, and domain monitoring with instant alerts.

Need Continuous DNS Monitoring?

Stop checking manually. exit1.dev monitors your DNS records around the clock and alerts you when something changes. Catch misconfigurations and hijacking attempts before they affect your users.

Start Free Monitoring