DNS Lookup Tool

1

Enter Domain

Type the domain name you want to look up

2

Select Record Type

Choose DNS record type (A, MX, TXT, etc.)

3

View Results

See DNS records and troubleshoot issues

Features

Check A records (IPv4 addresses)
Check AAAA records (IPv6 addresses)
Check MX records (mail servers)
Check TXT records (SPF, DKIM, etc.)
Check CNAME records (aliases)
Check NS records (name servers)
Check SOA records
View all records at once
DNS propagation checking
Troubleshoot domain issues

What is DNS Lookup?

DNS (Domain Name System) lookup is the process of querying DNS servers to retrieve information about a domain name. DNS acts as the internet's phone book, translating human-readable domain names like "example.com" into IP addresses that computers use to communicate.

When you perform a DNS lookup, you're asking DNS servers to return specific records associated with a domain. These records contain various types of information, from the server's IP address to email server configurations and domain verification data. DNS lookup is essential for troubleshooting website issues, verifying email configurations, and understanding how a domain is configured.

Common DNS Record Types

Example DNS Lookup Results:
Domain: example.com
A Record: 93.184.216.34
MX Record: mail.example.com (Priority: 10)
TXT Record: "v=spf1 include:_spf.example.com ~all"
NS Records: ns1.example.com, ns2.example.com

How to Use the DNS Lookup Tool

Step 1: Enter Domain Name

Type the domain name you want to look up in the input field. You can enter just the domain (example.com) or include a subdomain (www.example.com). Don't include http:// or https:// - just the domain name.

Step 2: Select Record Type

Choose the type of DNS record you want to query. If you're troubleshooting website access, check A records. For email issues, check MX records. Select "ALL" to see all available DNS records for the domain.

Step 3: Analyze Results

Review the DNS records returned by the lookup. Each record type provides different information about how the domain is configured. Use this information to verify configurations, troubleshoot issues, or understand domain setup.

Understanding the Results

DNS lookup results show the current configuration of the domain's DNS records. If you recently changed DNS settings, it may take 24-48 hours for changes to propagate globally. Use this tool to verify that changes have taken effect.

Common Use Cases

1. Website Troubleshooting

When a website isn't loading, check A records to verify the domain points to the correct IP address. DNS misconfigurations are a common cause of website downtime. Compare the returned IP with your hosting provider's information.

2. Email Configuration Verification

Check MX records to verify email servers are configured correctly. Also check TXT records for SPF and DKIM settings, which are crucial for email deliverability and preventing your emails from being marked as spam.

3. Domain Migration

When migrating a website to a new host, use DNS lookup to verify that DNS changes have propagated. Check that A records point to the new server and that all other records (MX, TXT, CNAME) are correctly configured.

4. Security Audits

Review TXT records for security configurations like SPF (Sender Policy Framework) and DMARC (Domain-based Message Authentication). Check that only authorized mail servers can send email from your domain.

5. Subdomain Configuration

Verify that subdomains are correctly configured with appropriate A or CNAME records. This is essential when setting up services like www, mail, or custom subdomains for different applications.

DNS Lookup Examples

Example 1: A Record Lookup

$ dig example.com A

;; ANSWER SECTION:
example.com.    3600    IN    A    93.184.216.34

Example 2: MX Record Lookup

$ dig example.com MX

;; ANSWER SECTION:
example.com.    3600    IN    MX    10 mail.example.com.
example.com.    3600    IN    MX    20 mail2.example.com.

Example 3: TXT Record Lookup

$ dig example.com TXT

;; ANSWER SECTION:
example.com.    3600    IN    TXT    "v=spf1 include:_spf.example.com ~all"
example.com.    3600    IN    TXT    "google-site-verification=abc123"

Example 4: NS Record Lookup

$ dig example.com NS

;; ANSWER SECTION:
example.com.    3600    IN    NS    ns1.example.com.
example.com.    3600    IN    NS    ns2.example.com.

Example 5: CNAME Record Lookup

$ dig www.example.com CNAME

;; ANSWER SECTION:
www.example.com.    3600    IN    CNAME    example.com.

Frequently Asked Questions

What is DNS propagation?
DNS propagation is the time it takes for DNS changes to spread across all DNS servers worldwide. When you update DNS records, it can take 24-48 hours for the changes to fully propagate, though many changes are visible within a few hours.
Why do I see different results from different locations?
DNS servers cache records for a period specified by the TTL (Time To Live). Different DNS servers may have cached different versions of your records, especially during DNS propagation after making changes.
What is TTL in DNS records?
TTL (Time To Live) specifies how long DNS servers should cache a record before requesting fresh data. A TTL of 3600 means the record is cached for 1 hour. Lower TTLs mean faster propagation but more DNS queries.
How do I fix DNS errors?
Common DNS errors are fixed by verifying records with your domain registrar or DNS provider. Check that A records point to the correct IP, MX records point to valid mail servers, and name servers are correctly configured.
What's the difference between A and CNAME records?
A records point directly to an IP address, while CNAME records point to another domain name. Use A records for the root domain and CNAME records for subdomains that should follow another domain's IP address.
Can I have multiple A records for one domain?
Yes, multiple A records provide simple load balancing and redundancy. DNS servers will return all A records, and clients typically use them in round-robin fashion or choose randomly.
What are SPF and DKIM records?
SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) are TXT records that help prevent email spoofing. SPF specifies which mail servers can send email for your domain, while DKIM adds a digital signature to emails.
How often should I check DNS records?
Check DNS records after making any changes, when troubleshooting issues, or during security audits. Regular checks (monthly or quarterly) help ensure your DNS configuration remains correct and secure.
What does "NXDOMAIN" mean?
NXDOMAIN (Non-Existent Domain) means the domain name doesn't exist in DNS. This could indicate a typo in the domain name, or that the domain hasn't been registered or configured yet.
Is this tool secure for checking my domain?
Yes, DNS lookups query public DNS servers and don't expose any private information. DNS records are publicly accessible by design, so checking them doesn't create any security risks.

Related Tools

Explore our other network and domain tools:

💙

Support TechConverter

Get $200 free DigitalOcean credit or sponsor us on GitHub!