Irreva logo
Explore Irreva
DeveloperFebruary 11, 2026· 6 min read· Updated June 10, 2026

How to Do a DNS Lookup Online Free

Hasanur Rahman

Written by Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

DNS — the Domain Name System — is the phonebook of the internet. It translates human-readable domain names like example.com into IP addresses that computers use to route traffic. When something breaks — email not delivering, website unreachable, SSL errors — DNS records are often involved. This guide covers what the main DNS record types do and how to inspect them with a free online lookup tool.

The main DNS record types explained

An A record maps a domain name to an IPv4 address. It's the most fundamental record: example.com → 93.184.216.34. The AAAA record does the same for IPv6 addresses. Most domains have both.

A CNAME (Canonical Name) record maps one domain name to another. www.example.com CNAME → example.com means that www is an alias for the root domain. CNAMEs can't coexist with other records at the same hostname, which is why many DNS providers support ALIAS or ANAME records as a CNAME workaround for the root domain.

MX (Mail Exchanger) records specify which servers handle email for the domain. They have a priority value — lower numbers have higher priority. Multiple MX records provide redundancy. If you're troubleshooting email delivery, MX records are the first place to look.

  • A — maps domain to IPv4 address
  • AAAA — maps domain to IPv6 address
  • CNAME — alias from one domain to another
  • MX — mail server for the domain
  • TXT — arbitrary text, used for SPF, DKIM, domain verification
  • NS — nameservers authoritative for the domain
  • SOA — start of authority, primary nameserver info
  • SRV — service location records (VoIP, XMPP, etc.)
  • CAA — certificate authority authorization

TXT records and what they're used for

TXT records store arbitrary text data associated with a domain. Their main use today is for email authentication and domain verification.

SPF (Sender Policy Framework) TXT records specify which servers are authorized to send email for the domain. DKIM TXT records publish the public key used to verify email signatures. DMARC TXT records set the policy for how recipients should handle email that fails SPF or DKIM checks. Together, these three records protect against email spoofing.

Domain verification records are also stored as TXT records. Google Search Console, AWS, and many SaaS tools ask you to add a specific TXT record to prove you control the domain.

Diagnosing DNS problems

The most common DNS issue is propagation delay. When you change a DNS record, the old record stays cached for up to 48 hours (the TTL — Time to Live value). During propagation, some users may see the old record and others the new one. You can reduce future propagation time by lowering TTL values before making changes.

Using the Irreva DNS Lookup tool, you can query a specific record type for any domain and see the current value. Compare what the DNS lookup returns against what you've configured in your registrar's DNS panel. Discrepancies point to propagation delays or misconfiguration.

For email delivery problems, check MX records, then TXT records for SPF/DKIM/DMARC. A missing or incorrect SPF record is the most common cause of legitimate email landing in spam.

Frequently Asked Questions

How long does DNS propagation take?

DNS changes typically propagate within a few minutes to a few hours for most of the world. The theoretical maximum is 48 hours — the TTL of most records. In practice, 1–2 hours covers most cases. You can reduce future propagation time by setting a low TTL (300 seconds = 5 minutes) before making planned changes.

What is TTL in DNS?

TTL (Time to Live) is the number of seconds a DNS record can be cached by resolvers before they must fetch a fresh copy. A TTL of 3600 means the record is cached for 1 hour. Lower TTLs propagate changes faster but increase DNS query volume to your authoritative nameserver.

Why do I get a different IP for the same domain on different networks?

Large-scale services use GeoDNS to return different IP addresses based on the user's location. This routes users to the nearest data center for lower latency. It's intentional, not an error.

What does it mean if a domain has no A record?

It means the domain name doesn't resolve to an IP address, so there's no website or server reachable at that domain. The domain may still have MX records for email or other record types. It could also mean DNS propagation is in progress after a recent change.

Can I do a DNS lookup from the command line?

Yes. On Linux and macOS, use dig: dig A example.com or nslookup example.com. On Windows, use nslookup. The online tool is useful when you want a simple interface or need to check DNS from a different location than your local network.

Hasanur Rahman

About the author

Hasanur Rahman

Founder & Full-Stack Developer · Irreva · Rangpur, Bangladesh

Hasanur Rahman is the founder of Irreva and a full-stack developer based in Rangpur, Bangladesh. He builds all of Irreva's tools with a focus on privacy-first, browser-based processing.