DNS lookup
Look up a domain's DNS records - A, AAAA, MX, TXT, NS, CNAME and SOA.
Look up a domain's DNS records - A, AAAA, MX, TXT, NS, CNAME and SOA.
DNS lookup is the process of querying DNS servers to retrieve DNS records for a domain, translating human-readable domain names like example.com into their corresponding IP addresses and configuration data. This tool queries a domain's authoritative nameserver to display A, AAAA, MX, TXT, NS, and SOA records instantly, with no signup required.
DNS lookup is the fundamental process that makes the internet work. Every time you type a domain name into your browser, a DNS lookup happens behind the scenes to find the server hosting that website. The Domain Name System (DNS) acts as the internet's address book: it stores records that map domain names to IP addresses and other server information. Without DNS lookup, you would need to memorize the numerical IP address of every website you visit—something impractical given there are billions of websites online.
There are two types of DNS lookup. Forward DNS lookup translates a domain name (like example.com) into an IP address (like 93.184.216.34). Reverse DNS lookup does the opposite: it takes an IP address and returns the domain name associated with it. Reverse lookups are commonly used for email server verification and security audits. This tool performs forward DNS lookups, returning all the records that an authoritative nameserver holds for a domain.
When you enter a domain into this tool, it connects directly to the authoritative nameserver responsible for that domain and retrieves the actual records stored there. This means the results show live data, not cached information. Changes you make to your DNS records typically appear in a DNS lookup within minutes, depending on your DNS provider's setup and how DNS resolvers around the world are caching the old data.
DNS lookup is a multi-step process that happens invisibly every time you navigate the web. Understanding these steps helps you troubleshoot DNS problems and know what to expect when you change DNS records.
This tool skips most of those steps and queries the authoritative nameserver directly, which is why results appear instantly. However, the underlying process is the same. Each record returned includes a TTL (Time To Live) value measured in seconds. This TTL tells DNS resolvers and caching servers how long they should store the record before requesting a fresh copy from the authoritative server. A TTL of 3600 means the record can be cached for 1 hour; a TTL of 300 means only 5 minutes. When you change DNS records, the old TTL expires before resolvers stop using the cached old data, which is why DNS propagation takes time.
DNS records are instructions stored on authoritative nameservers that tell the internet how to handle requests for a domain. Different record types serve different purposes. This tool displays six core record types, each essential for different aspects of how your domain functions.
| Record Type | Purpose | Example | Common Use |
|---|---|---|---|
| A | Maps a domain to an IPv4 address (32-bit) | example.com → 93.184.216.34 | Pointing a domain to a web server |
| AAAA | Maps a domain to an IPv6 address (128-bit) | example.com → 2606:2800:220:1:248:1893:25c8:1946 | IPv6 support for modern networks |
| MX | Directs email to specific mail servers, with priority values | example.com → mail.example.com (priority 10) | Routing email to the correct mail server |
| NS | Names the authoritative nameservers for a domain | example.com → ns1.registrar.com | Defining which servers hold the zone's records |
| SOA | Start of Authority; contains admin data and zone settings | Primary nameserver, admin email, serial number | Zone management and propagation control |
| TXT | Human-readable text data, often for authentication | v=spf1 include:google.com ~all | SPF, DKIM, DMARC, domain verification |
The A record is the most fundamental: it connects your domain name to the IP address of your web server. Without it, browsers cannot reach your website. AAAA records serve the same purpose for IPv6, the newer internet protocol. Many modern networks now support IPv6, so having both A and AAAA records is a best practice for redundancy.
MX records are critical for email. They specify which mail servers should receive email sent to your domain and in what order (priority values determine which server is tried first). If your MX records are misconfigured, emails to your domain will bounce or go to the wrong server. TXT records are flexible: they store text data and are commonly used for email authentication. SPF (Sender Policy Framework) records tell receiving mail servers which servers are authorized to send email for your domain. DKIM records provide cryptographic proof that an email came from you. DMARC records define the policy for handling emails that fail SPF or DKIM checks.
NS records point to the authoritative nameservers themselves—the servers that hold all your domain's DNS records. SOA records contain administrative metadata about the zone, including the serial number (used to sync DNS records across multiple nameservers) and the email address of the domain administrator. When you change your domain's nameservers—for example, moving from your registrar's nameservers to a third-party DNS provider—you're updating the NS records at your domain registrar.
DNS lookup is a troubleshooting and verification tool used by website owners, IT professionals, and system administrators. Here are the most common reasons to run a DNS lookup:
Understanding DNS records is one thing; managing them effectively is another. Follow these practices to avoid common DNS problems:
While this tool focuses on forward DNS lookups, reverse DNS lookup is worth understanding. A reverse DNS lookup takes an IP address and returns the domain name (or hostname) associated with it. This is the opposite of a standard lookup.
Reverse DNS is handled by PTR (Pointer) records. These records are stored in a special reverse DNS zone managed by the IP address owner—typically the ISP or hosting provider. Reverse DNS is commonly used by email servers to verify that the server sending an email is legitimate. If a mail server's IP address doesn't have a PTR record, or the PTR record doesn't match the server's hostname, spam filters may reject the email. Website hosting companies often configure PTR records for their IP ranges to help customers' emails reach inboxes.
To set up a PTR record, you typically contact your hosting provider or ISP—you can't set it directly on your domain's nameserver. This is one of the reasons why mail server configuration is complex: email authentication relies on multiple DNS record types (A, MX, SPF, DKIM, DMARC) plus PTR records that live outside your domain's nameserver.
If you have access to a computer terminal, you can perform DNS lookups using command-line tools like dig, nslookup, or host. These tools are faster for people who are comfortable with terminal commands and give you granular control over which nameserver you query.
This web-based DNS lookup tool offers the same core functionality with a simpler interface. You don't need to remember command syntax or install software. Results are formatted clearly in a table, making it easy to read all of a domain's records at once. Web-based tools are ideal for quick lookups, sharing results with non-technical team members, and avoiding the learning curve of command-line tools.
Understanding DNS thoroughly helps you troubleshoot problems and configure your domain correctly. These resources provide authoritative information about DNS standards, tools, and best practices.
A DNS record is an instruction stored on a nameserver that tells the internet how to handle requests for a domain. DNS records include mappings from domain names to IP addresses (A records), email routing instructions (MX records), authentication data (SPF, DKIM), and other configuration. Each record type serves a specific purpose.
DNS lookup lets you verify that your domain's DNS records are correctly configured. Problems with DNS records can prevent websites from loading, cause emails to bounce, break email authentication, or create security vulnerabilities. Regular DNS lookups help you troubleshoot connectivity issues and confirm that DNS changes have taken effect.
DNS propagation typically takes 24-48 hours globally, but can happen much faster. The actual time depends on the TTL (Time To Live) value set on each record. Once a DNS resolver caches a record, it waits for the TTL to expire before requesting a fresh copy. If you lower the TTL before making changes, new records can propagate within minutes. However, some DNS resolvers around the world may continue serving cached old data until their TTL expires.
A records map a domain to IPv4 addresses (the older, 32-bit internet protocol that looks like 192.168.1.1). AAAA records map to IPv6 addresses (the newer, 128-bit protocol that looks like 2001:db8::1). Both serve the same purpose: directing traffic to your web server. Modern networks support both protocols for redundancy. Having AAAA records is increasingly important as IPv6 adoption grows.
No. This tool is read-only; it only retrieves and displays DNS records. To change DNS records, you must log into your domain registrar or DNS provider's control panel and edit them there. Changes made in your DNS provider will appear in this tool once they propagate, typically within minutes to a few hours.
MX (Mail Exchange) records tell the internet which mail servers should receive emails sent to your domain. Each MX record includes a priority number; lower numbers are tried first. If you have multiple mail servers, higher-priority records serve as backups. If your MX records are misconfigured or missing, emails sent to your domain will bounce or fail to deliver.
TTL (Time To Live) is a value measured in seconds that tells DNS resolvers how long they can cache a record before requesting a fresh copy from the authoritative nameserver. A TTL of 3600 means the record can be cached for 1 hour. Lower TTLs mean records propagate faster after changes but generate more DNS queries. Higher TTLs reduce query load but slow down propagation. Before making DNS changes, lower the TTL to 300 or 600 seconds to speed up propagation.
Multiple MX records provide redundancy for email delivery. Each record has a priority value (typically 10, 20, 30, etc.). Mail servers try delivering email to the lowest-priority number first. If that server is down or rejects the email, they try the next priority. This setup ensures email can still be delivered even if your primary mail server is temporarily unavailable.