Type the domain name you want to look up
Choose DNS record type (A, MX, TXT, etc.)
See DNS records and troubleshoot issues
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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
$ dig example.com A ;; ANSWER SECTION: example.com. 3600 IN A 93.184.216.34
$ dig example.com MX ;; ANSWER SECTION: example.com. 3600 IN MX 10 mail.example.com. example.com. 3600 IN MX 20 mail2.example.com.
$ 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"
$ dig example.com NS ;; ANSWER SECTION: example.com. 3600 IN NS ns1.example.com. example.com. 3600 IN NS ns2.example.com.
$ dig www.example.com CNAME ;; ANSWER SECTION: www.example.com. 3600 IN CNAME example.com.
Explore our other network and domain tools:
Get $200 free DigitalOcean credit or sponsor us on GitHub!