Embed this tool on your site
<iframe src="https://devtoolbox.dedyn.io/tools/dns-lookup" width="100%" height="700" frameborder="0" title="DNS Lookup Tool"></iframe>

DNS Lookup Tool

Look up DNS records for any domain name. Query A, AAAA, CNAME, MX, NS, TXT, SOA, SRV, CAA, and PTR records using Cloudflare or Google DNS-over-HTTPS. All queries run directly in your browser.

No recent lookups.

Understanding DNS Records

The Domain Name System (DNS) is the internet's directory service. When you visit a website, DNS translates the human-friendly domain name into the numeric IP address that computers use to locate each other. DNS records store various types of information about a domain.

DNS Record Types Explained

TypeNamePurposeExample Value
AAddressMaps domain to IPv4 address93.184.216.34
AAAAIPv6 AddressMaps domain to IPv6 address2606:2800:220:1::248
CNAMECanonical NameAlias pointing to another domainwww.example.com
MXMail ExchangeSpecifies mail servers for the domain10 mail.example.com
NSNameserverAuthoritative DNS servers for the domainns1.example.com
TXTTextArbitrary text (SPF, DKIM, verification)v=spf1 include:...
SOAStart of AuthorityPrimary NS, admin email, serial numberns1.example.com admin...
SRVServiceLocates services (SIP, XMPP, LDAP)10 5 5060 sip.example.com
CAACert. Authority Auth.Which CAs can issue certificates0 issue "letsencrypt.org"
PTRPointerReverse DNS: IP to hostnamedns.google

How DNS Resolution Works

When you type a URL into your browser, the following steps occur:

  1. Your browser checks its local cache for the domain's IP address.
  2. If not cached, the OS resolver checks its own cache (and the hosts file).
  3. The query goes to your configured DNS resolver (e.g., Cloudflare 1.1.1.1 or Google 8.8.8.8).
  4. The resolver queries the root nameservers, then the TLD nameservers (.com, .org, etc.), then the authoritative nameserver for the domain.
  5. The authoritative server returns the requested record, which is cached at each level according to its TTL (Time to Live).

DNS-over-HTTPS (DoH)

This tool uses DNS-over-HTTPS, which encrypts DNS queries inside standard HTTPS traffic. This prevents eavesdropping and man-in-the-middle attacks on DNS queries. Major providers include Cloudflare (1.1.1.1) and Google (8.8.8.8). Unlike traditional DNS over UDP port 53, DoH queries travel over port 443 and are indistinguishable from normal web traffic.

Frequently Asked Questions

What is a DNS lookup?
A DNS (Domain Name System) lookup translates a human-readable domain name like example.com into machine-readable data such as IP addresses, mail server addresses, and other records. DNS is often called the "phonebook of the internet" because it maps names to numbers. This tool queries DNS-over-HTTPS resolvers from Cloudflare and Google to retrieve records securely.
What are the most common DNS record types?
The most common DNS record types are: A (maps a domain to an IPv4 address), AAAA (maps to an IPv6 address), CNAME (creates an alias pointing to another domain), MX (specifies mail servers for the domain), NS (lists authoritative nameservers), and TXT (holds arbitrary text data, often used for SPF, DKIM, and domain verification).
What is reverse DNS lookup?
Reverse DNS (rDNS) lookup is the opposite of a standard DNS query. Instead of translating a domain name to an IP address, it translates an IP address back to a hostname using PTR records. Reverse DNS is commonly used for email server verification, network troubleshooting, and security logging. To perform a reverse lookup, the IP address is converted into a special domain under in-addr.arpa (for IPv4) or ip6.arpa (for IPv6).
Keyboard Shortcuts
Ctrl+Enter Look up DNS
Ctrl+Shift+C Copy results
Ctrl+L Clear