Skip to content

DNS Lookup Helper

Embed

Paste this where you want DNS Lookup Helper on your site. Adjust the height to fit.

<iframe src="https://www.browserutils.dev/embed/dns-lookup/" width="100%" height="500" frameborder="0" loading="lazy" title="DNS Lookup Helper"></iframe>
<p style="font-size:12px;margin:4px 0 0"><a href="https://www.browserutils.dev/tools/dns-lookup/">DNS Lookup Helper</a> by BrowserUtils</p>

Generate DNS lookup commands and learn about DNS records.Runs in this tab.

DNS lookups cannot be performed directly in the browser. Use the commands below in your terminal, or visit a public DNS lookup service. The commands use Google's public DNS server (8.8.8.8) by default.

dig Commands
A Recorddig @8.8.8.8 example.com A
AAAA Recorddig @8.8.8.8 example.com AAAA
MX Recorddig @8.8.8.8 example.com MX
TXT Recorddig @8.8.8.8 example.com TXT
NS Recorddig @8.8.8.8 example.com NS
SOA Recorddig @8.8.8.8 example.com SOA
CAA Recorddig @8.8.8.8 example.com CAA
Any Recorddig @8.8.8.8 example.com ANY
Tracedig +trace example.com
Short Answerdig +short example.com
nslookup Commands
Basic Lookupnslookup example.com
Specific Typenslookup -type=MX example.com
Custom DNSnslookup example.com 8.8.8.8
DNS Record Types Reference
A
Maps a domain to an IPv4 address
Example: 93.184.216.34
AAAA
Maps a domain to an IPv6 address
Example: 2606:2800:220:1:248:1893:25c8:1946
CNAME
Alias that points one domain name to another
Example: www.example.com -> example.com
MX
Specifies mail servers responsible for receiving email
Example: 10 mail.example.com
TXT
Holds arbitrary text data, often used for SPF, DKIM, domain verification
Example: v=spf1 include:_spf.google.com ~all
NS
Delegates a DNS zone to an authoritative name server
Example: ns1.example.com
SOA
Start of Authority - contains administrative info about the zone
Example: ns1.example.com admin.example.com 2024010101 3600 900 604800 86400
SRV
Specifies a host and port for specific services (e.g., SIP, XMPP)
Example: 10 5 5060 sip.example.com
CAA
Specifies which Certificate Authorities can issue SSL certs for the domain
Example: 0 issue "letsencrypt.org"
PTR
Reverse DNS - maps an IP address back to a domain name
Example: 34.216.184.93.in-addr.arpa -> example.com

Next step

About DNS Lookup Helper

Free online DNS lookup helper. Generate dig and nslookup commands for any domain, with a comprehensive guide to DNS record types and their purposes. It runs in your browser. Nothing is sent to a server.

Questions

Can this tool perform live DNS queries?
This is a client-side tool that generates DNS lookup commands (dig, nslookup) you can run in your terminal. For live results, copy the generated command and run it locally.
What DNS record types are covered?
The tool covers all common record types including A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, and PTR records with explanations of each.
How do I use the generated dig command?
Copy the generated dig command and paste it into your terminal (macOS, Linux) or Windows Subsystem for Linux. The command will query public DNS servers and display the records for your domain.
What is the difference between dig and nslookup?
Both query DNS servers, but dig provides more detailed output including the full response with authority and additional sections. nslookup is simpler and available by default on Windows, macOS, and Linux.

More in Web & Networking

All 23 web & networking