DNS Lookup

Free online DNS lookup tool. Query DNS records — A, AAAA, MX, CNAME, TXT, NS — for any domain. Essential for network debugging.

Results
Enter a domain and click Lookup.

How to Use DNS Lookup

1

Enter a Domain

Type any domain name (e.g., google.com, github.com) into the input field.

2

Select Record Type

Choose the DNS record type you want to query: A (IPv4 address), AAAA (IPv6), MX (mail server), CNAME (alias), or TXT (text records).

3

View Results

The DNS records are fetched and displayed. Note: DNS queries are proxied through a public API since browsers cannot perform native DNS lookups.

Common DNS Record Types

TypePurposeExample
AIPv4 address142.250.80.46
MXMail serveraspmx.l.google.com
CNAMEDomain aliaswww.example.com → example.com
TXTText datav=spf1 include:_spf.google.com ~all

Frequently Asked Questions

What is DNS?

DNS (Domain Name System) is the phonebook of the internet. It translates human-readable domain names (like google.com) into IP addresses (like 142.250.80.46) that computers use to connect to each other.

What do the different record types mean?

A records map a domain to an IPv4 address. AAAA records map to IPv6. MX records specify mail servers. CNAME records create aliases. TXT records store text data (often used for SPF, DKIM verification). NS records specify name servers.

Why can't this tool perform DNS lookups directly?

Browsers don't have a native DNS lookup API for security reasons. DNS queries must go through a server. This tool uses a free public DNS API to fetch records. For production DNS debugging, use command-line tools like dig or nslookup.

DNS Debugging Tips

When a website is unreachable, DNS is often the culprit. Check that the domain resolves to the correct IP address. Verify MX records if email isn't working. Check TXT records for SPF/DKIM if emails are going to spam.

DNS changes can take up to 48 hours to propagate globally due to caching. Use this tool to check what DNS records are currently visible from different perspectives.

Related Tools

Related Articles