DNS Lookup Helper
Generate DNS lookup commands and learn about DNS records.Runs in this tab.⌘ ↵ runs it
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 Record
dig @8.8.8.8 example.com AAAAA Record
dig @8.8.8.8 example.com AAAAMX Record
dig @8.8.8.8 example.com MXTXT Record
dig @8.8.8.8 example.com TXTNS Record
dig @8.8.8.8 example.com NSSOA Record
dig @8.8.8.8 example.com SOACAA Record
dig @8.8.8.8 example.com CAAAny Record
dig @8.8.8.8 example.com ANYTrace
dig +trace example.comShort Answer
dig +short example.comnslookup Commands
Basic Lookup
nslookup example.comSpecific Type
nslookup -type=MX example.comCustom DNS
nslookup example.com 8.8.8.8DNS 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
Public DNS Lookup Services
Next step
AtriumKitFrom the team behind browserutils
Turn a click-through into an interactive demo
AtriumKit records your web app once in Chrome and turns every click into a step of a demo you can embed or share. There’s a free plan.
Try AtriumKit freeAbout 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.
Comments
More in Web & Networking
- URL Parser
- HTTP Status Codes Reference
- HTTP Headers Reference
- MIME Types Reference
- HTTP Methods Reference
- IP Address Converter
- CIDR Calculator
- DNS Record Types Reference
Comments