Skip to content
Free tool

DNS Lookup – query DNS records online

Use DNS Lookup to query a domain's DNS records: enter example.com, for instance, to get its A, AAAA, CNAME, MX, NS, TXT, SOA, and CAA records, with priority for MX and TTL for A and AAAA. For an IP address, the tool shows the reverse DNS record (PTR). Like nslookup online, but without a terminal.

Built by Luca Stanek

Free, with no sign-up or installation: enter a domain or IP and query it directly in your browser.

Register your domain and manage DNS records in one panel.

Example result

What the result looks like in the DNS Lookup

You enter a domain, and the tool queries all record types at once and lists every record found, including priority for MX and TTL for A and AAAA. The records below are fictional: example.com is a reserved example domain, and a real query will return different values.

Example · Example with fictional data for example.com

Input

Domain
example.com
If you paste a URL, the tool extracts the name. For an IP address, it returns the PTR record instead.
Record type
All

Output

A
192.0.2.10
Domain IPv4 address, TTL 300 seconds.
AAAA
2001:db8::10
Domain IPv6 address, TTL 300 seconds.
MX
10 mail.example.com
Responsible mail server, preceded by its priority. The lowest number is contacted first.
NS
ns1.example.net, ns2.example.net
The nameservers that manage the domain’s zone.
TXT
v=spf1 mx -all
Here’s an SPF record: only the MX server may send email for the domain.
SOA
ns1.example.net hostmaster.example.com 2026101201 7200 3600 1209600 300
Primary nameserver, responsible party, serial number and zone time values on one line.
CAA
0 issue "letsencrypt.org"
Only the specified certificate authority may issue certificates for the domain.
No entries
CNAME
The tool groups types without entries below the list.

How it works

How to query DNS records with DNS Lookup

No terminal, no installation: enter a name, select a record type, and read the records.

  1. Step 1

    Enter a domain or IP

    Enter a domain such as example.com or an IPv4 or IPv6 address. If you paste a URL or email address, the tool extracts the name automatically.

  2. Step 2

    Choose record type

    Select “All” to query every type at once, or choose A, AAAA, CNAME, MX, NS, TXT, SOA, or CAA. For an IP address, the tool automatically queries the PTR record.

  3. Step 3

    Look up DNS

    Click “Query DNS”. The query uses the public resolver 1.1.1.1, and you don't need an account.

  4. Step 4

    Read records

    Each record type found appears in its own list, with priority for MX and TTL for A and AAAA. Types with no records are grouped below. For an IP, you can see whether the hostname points back to it.

  5. Step 5

    Copy values

    Click any record to copy it to your clipboard, for example for your DNS panel or a support ticket.

  6. Step 6

    Share result link

    After the query, the name and record type appear in your browser's address bar. Send the link to colleagues or support: opening it shows the result for the same name and type.

Why this tool

Every DNS record at a glance

Key features of the DNS Lookup.

All important record types

A, AAAA, CNAME, MX, NS, TXT, SOA and CAA — look them up all at once or individually.

Reverse DNS for IP addresses

Enter an IPv4 or IPv6 address to see its PTR record (reverse DNS).

Forward-confirmed rDNS

We check whether the PTR hostname points back to the IP (forward-confirmed rDNS)—important for mail servers.

Current responses

Queries use the public resolver 1.1.1.1; the tool caches results for no more than 60 seconds.

TTL at a glance

For A and AAAA records, you can see the TTL: how long resolvers may cache the response.

Free, no account required

Just enter a domain or IP—no sign-up or download.

Record types

Which DNS records you can query

For a domain, the tool looks up eight record types, individually or all at once. For an IP address, it also looks up the PTR record.

A

The IPv4 address a domain points to. The tool also shows its TTL.

AAAA

A domain's IPv6 address, also with TTL.

CNAME

An alias that points to another name, often used for www subdomains.

MX

The domain's mail servers, with priority. The lowest number is contacted first.

NS

The nameservers that manage the domain’s zone.

TXT

Free-form text records, for example for SPF, DMARC, or domain verification.

SOA

Zone administration data: primary name server, responsible person, serial number, and timing values.

CAA

Which certificate authorities may issue certificates for the domain.

PTR

The hostname for an IP address (reverse DNS). Queried when you enter an IP.

Commands

nslookup online: Commands and their equivalents in the tool

In a terminal, you can query DNS records with nslookup (Windows, Linux, macOS) or dig (Linux, macOS). DNS Lookup sends the same query to the public resolver 1.1.1.1, without a command.

Mail servers (MX)

nslookup -type=mx example.comdig MX example.com

In DNS Lookup, enter a domain and select the MX record type.

TXT records, e.g. SPF

nslookup -type=txt example.comdig TXT example.com

In DNS Lookup, enter the domain and select the TXT record type.

Reverse DNS (PTR)

nslookup 192.0.2.10dig -x 192.0.2.10

In DNS Lookup, just enter the IP address. The tool also checks whether the hostname points back to the IP.

Discover more

More tools

FAQ

Frequently asked questions about DNS Lookup

Quick answers about DNS Lookup, nslookup, and Reverse DNS.

A DNS lookup queries the Domain Name System for records associated with a name—for example, which IP address a domain points to (A/AAAA), which mail server handles it (MX), or which nameservers manage it (NS). This tool shows you all the important record types at a glance.

A separate list of all entries for each record type, with priority for MX and TTL for A and AAAA. In the fictional example for example.com, these might be A 192.0.2.10, MX 10 mail.example.com, and NS ns1.example.net, ns2.example.net. Types with no entries are listed below. For an IP address, the tool returns the PTR record and checks whether the hostname resolves back to the IP.

A (IPv4), AAAA (IPv6), CNAME (alias), MX (mail server), NS (name server), TXT (e.g. SPF or verifications), SOA (zone administration data) and CAA (authorized certificate authorities). For IP addresses, there is also the PTR record (Reverse DNS).

nslookup and dig are command-line tools for exactly this kind of query. DNS Lookup returns the same records directly in your browser, without installation or terminal commands: instead of nslookup -type=mx, simply select the MX record type; instead of dig -x, enter the IP address.

Enter an IPv4 or IPv6 address instead of a domain. The tool then queries the PTR record—the hostname associated with that IP. For up to five PTR hostnames, it also checks whether the hostname points back to the IP (forward-confirmed reverse DNS), an important criterion for mail servers.

Select the MX record type. You can also paste an email address; the tool uses only the part after @. Records are sorted by priority, and the server with the lowest number is contacted first. A null MX means the domain does not accept email. Use the Email DNS Health Checker to check whether SPF, DKIM, and DMARC are set up correctly. Go to Email DNS Health Checker

DNS responses are cached in many places until their TTL (Time to Live) expires. DNS Lookup queries the public resolver 1.1.1.1 and caches results for no more than 60 seconds. If it still shows the old value, 1.1.1.1 still has the response in its cache. Use the DNS Propagation Checker to see how far a change has spread worldwide. Go to DNS Propagation Checker

Yes. The tool automatically converts domains with umlauts or accents to Punycode. Subdomains such as www are queried as separate names, and names with underscores such as _dmarc.example.com work too. The tool rejects internal suffixes such as .local, .internal, and .localhost.

Any more questions?

Contact Support
Custom domain?

Domain, VPS & DNS hosting from one provider

Register or transfer a domain, manage DNS, and run it directly on a ZAP-Hosting server—all in one panel.

4.4/5 Trustpilot32,000+ Active serversSince 2010

No setup. No risk. Online in seconds.

Flexible TermCancel anytimeOnline in 60 seconds

Looking for more tools? View all network tools