DNS Lookup Helper
// Generate DNS lookup commands and learn about DNS records
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
#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. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.
#FAQ
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.
</> Embed this tool ▾
Copy this code to embed the tool on your website. Adjust the height to fit your layout.
<iframe src="https://www.browserutils.dev/embed/dns-lookup" width="100%" height="500" frameborder="0" title="DNS Lookup Helper"></iframe>