Last updated
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
- A Record: Maps domain to IPv4 address (e.g., 192.0.2.1)
- AAAA Record: Maps domain to IPv6 address
- MX Record: Specifies mail servers for the domain
- TXT Record: Contains text information (SPF, DKIM, verification)
- CNAME Record: Creates an alias pointing to another domain
- NS Record: Specifies authoritative name servers
- SOA Record: Contains administrative information about the zone
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
Frequently Asked Questions
Yes, our Dns Lookup is completely free with no registration required. Use it unlimited times without any restrictions.
Yes, all processing happens locally in your browser. Your data never leaves your device and is not stored on our servers.
No installation needed. The tool works directly in your web browser on any device.
Enter your input, click the action button, and get instant results. Copy the output for use in your projects.