DNS lookup

DNS Lookup and nslookup Online

See the A, MX, TXT and other records any domain publishes. It's the answer nslookup or dig would give you, without opening a terminal.

Record type

Try: ·

What DNS records are

DNS is the internet's address book. A domain owner publishes records that say where the website lives, which servers take its email and which services it uses. Anyone can read them, and your device reads them every time you open a site. Each record has a TTL, the number of seconds other servers may cache it.

A
Points a name to an IPv4 address.
AAAA
Points a name to an IPv6 address.
CNAME
Makes a name an alias of another name, which is looked up in its place.
MX
Names the mail servers that accept email for the domain, with a priority number. Lower is tried first.
TXT
Free-form text. Used for SPF, DKIM and DMARC email checks and for proving domain ownership.
NS
Lists the name servers that are authoritative for the domain.
SOA
Start of authority: the primary name server, the admin contact, a serial number and timing values.
SRV
Points a service, such as _sip._tcp, to a host and port, with priority and weight.

The same lookups in nslookup and dig

nslookup works on Windows, macOS and Linux; dig comes with macOS and most Linux systems. Replace example.com with your domain. Your terminal asks your own DNS server, so its answer can differ from this page's while a change is still spreading.

A
nslookup example.com
dig example.com A
AAAA
nslookup -type=aaaa example.com
dig example.com AAAA
MX
nslookup -type=mx example.com
dig example.com MX
TXT
nslookup -type=txt example.com
dig example.com TXT
NS
nslookup -type=ns example.com
dig example.com NS
SOA
nslookup -type=soa example.com
dig example.com SOA

Frequently asked questions

It asks the same question nslookup or dig would, for one record type at a time, and shows the answer with its TTL. The difference is where the question comes from: this page asks Cloudflare's public resolver (with Google's as a fallback), not the DNS server your own computer uses. If your network or company DNS answers differently, run nslookup on your machine to see its view.

Related

More network tools

Link partner: raramuridesign