DNS Lookup Tool – Online DNS Checker

Check A, AAAA, MX, TXT, CNAME, NS, SOA, and CAA records for any domain in real-time. Use this tool for domain verification, mail servers setup, and network troubleshooting.

Looking for Reverse DNS Lookup?

Find hostnames associated with IP addresses. Try Reverse DNS Lookup Tool →

DNS Query

Do not include protocols (http://) or path. Enter a hostname or domain.
Query status:
0%
Query Results
TypePriorityValue
No DNS records found for the requested criteria.

Complete Guide to Domain Name System (DNS)

The Domain Name System (DNS) is one of the foundational layers of the modern internet. In simple terms, it acts as a decentralized directory that translates human-friendly alphanumeric domain names, such as vinar.tech or google.com, into machine-readable numerical IP (Internet Protocol) addresses, like 142.250.190.46 (IPv4) or 2607:f8b0:4005:805::200e (IPv6). Computers and servers communicate over the internet using numerical addresses; DNS bridges the gap by enabling humans to use memorable names to locate servers, send emails, and load websites.


1. How DNS Resolution Works Behind the Scenes

When you type a URL into your web browser or initiate any network connection, your device triggers a sequence of DNS lookups to find the correct host server. This resolution process involves several critical players:

  • DNS Recursor (Recursive Resolver): Typically operated by your Internet Service Provider (ISP), Google DNS (8.8.8.8), or Cloudflare (1.1.1.1), the recursor acts as an intermediary. It receives the request from your local device and undertakes the journey to query authoritative nameservers to fetch the IP address on your behalf.
  • Root Nameserver: The first stop for a recursive resolver. Root servers do not store IP records directly; instead, they refer the recursor to the appropriate Top-Level Domain (TLD) nameserver based on the domain suffix (e.g., `.com`, `.org`, `.tech`). There are 13 logical root server IP addresses distributed globally.
  • TLD Nameserver: The Top-Level Domain nameserver manages registry information for a specific TLD. For example, if you query vinar.tech, the recursor is directed by the root servers to the `.tech` TLD registry nameservers, which in turn point the recursor to the domain's authoritative nameservers.
  • Authoritative Nameserver: The final authority in the chain. This is the server configured by the domain owner (often via Cloudflare, GoDaddy, Route 53, etc.) that contains the actual mapping of domain sub-records to IP addresses and hosts. The recursive resolver fetches this data, caches it locally, and sends the IP address back to your browser to complete the connection.

2. Detailed Overview of DNS Record Types

A DNS zone file contains several distinct types of resource records, each serving a unique configuration role for your domain and mail traffic:

A Record (Address Record)

Maps a domain name to its corresponding IPv4 address. This is the most basic record type used to point subdomains and root domains to hosting servers.

AAAA Record (IPv6 Address)

Operates exactly like an A record but maps the hostname to an IPv6 address instead of an IPv4 address. Essential for IPv6 network routing.

CNAME (Canonical Name)

Creates an alias for a subdomain, routing it to another domain instead of a direct IP. Helpful for routing traffic to external load balancers or CDN providers.

MX Record (Mail Exchanger)

Directs incoming email traffic to the correct mail servers (e.g. Google Workspace, Microsoft Outlook) and assigns priority levels to each server.

TXT Record (Text Records)

Stores readable text strings inside the DNS configuration. Text records are widely used for security verification, SPF, DKIM, and DMARC settings.

NS Record (Name Servers)

Delegates a DNS zone to use specific authoritative name servers, defining which hosting platform handles the DNS records.


3. Understanding DNS TTL (Time to Live) and Propagation

Every DNS record contains a parameter called **TTL (Time to Live)**, representing the time in seconds that a recursive resolver is allowed to store (cache) the record locally before checking the authoritative nameserver for updates.

For example, a record with a TTL of 3600 (1 hour) means that after resolving the record, the user's internet resolver will not ask the nameserver again for 60 minutes. If the domain owner changes the record during this period, the user will continue to see the old record. This delay is known as **DNS Propagation Delay** and can take anywhere from a few minutes to 48 hours depending on TTL sizes and ISP caching policies worldwide.


4. Security Layers in DNS: SPF, DKIM, and DMARC

Since the original DNS specifications lacked integrated security, malicious actors can easily spoof emails or intercept unencrypted requests. The following standard TXT record protocols have been introduced to establish verification:

  • SPF (Sender Policy Framework): Defines a list of authorized IP addresses and servers allowed to send outbound emails on behalf of your domain name.
  • DKIM (DomainKeys Identified Mail): Adds a digital signature to email headers, allowing receiving servers to verify that the message content was sent by the domain owner and has not been altered in transit.
  • DMARC (Domain-based Message Authentication, Reporting, and Conformance): Ties SPF and DKIM verification checks together, advising receiving mail servers how to handle failures (reject, quarantine, or monitor) and providing report telemetry back to the domain owner.
Quick DNS Info

A Records map domains to IPv4, whereas AAAA Records map domains to IPv6.

CNAME creates aliases. Note that a CNAME record cannot coexist with other records for the same name (RFC 1912).

PTR (Pointer) maps IPs to domains. It is the opposite of an A/AAAA record lookup.

Common Diagnostic Commands

Querying using Dig:

dig google.com A

Querying using Nslookup:

nslookup -type=mx google.com

Both commands are industry standards for running local terminal lookups.