---
title: DNS Lookup — Query A, MX, TXT, NS, CNAME Records Online
url: https://varstatt.com/toolkit/dns
description: Look up A, AAAA, MX, NS, TXT, CNAME, and SOA records for any domain. Results grouped by record type with one-click copy.
section: Developer Toolkit (https://varstatt.com/toolkit)
tags: network
related: DNS (https://varstatt.com/toolkit/dns), SSL (https://varstatt.com/toolkit/ssl), CORS (https://varstatt.com/toolkit/cors), OG Tags (https://varstatt.com/toolkit/og)
---
# DNS Lookup

Look up A, AAAA, MX, NS, TXT, CNAME, and SOA records for any domain. Results grouped by record type with one-click copy.

## How It Works

1. **Enter a domain name** — Type any domain like example.com — no protocol or path needed.
2. **Choose record types** — Select which DNS records to query: A, AAAA, MX, NS, TXT, CNAME, or SOA. All are selected by default.
3. **View and copy results** — Results appear grouped by record type. Copy individual records or entire sections with one click.

## FAQ

### Does this use my local DNS resolver?

Yes. The lookup runs server-side using the system's DNS resolver, so results may vary based on DNS propagation and your server's location.

### What record types are supported?

A (IPv4), AAAA (IPv6), MX (mail servers), NS (name servers), TXT (text records like SPF/DKIM), CNAME (aliases), and SOA (start of authority).

### Why do I see ENOTFOUND or ENODATA?

ENOTFOUND means the domain doesn't exist. ENODATA means the domain exists but has no records of the requested type — for example, not every domain has AAAA (IPv6) records.

### Can I check DNS propagation?

This tool queries from a single resolver. For propagation checks across multiple global locations, you'd need a dedicated propagation checker. But for quick record verification, this gives you instant results.

### Is it safe to look up any domain?

Yes. DNS lookups are read-only queries — they don't modify anything. It's the same as running dig or nslookup from your terminal. Want to validate a site's metadata too? Try the [OG Tag Validator](https://varstatt.com/toolkit/og-preview).

## Usage

This tool runs entirely in the browser — visit the URL above to use it.

Prefill inputs via URL parameters:

- `https://varstatt.com/toolkit/dns?hostname=...&type=...`

## Related Tools

- [DNS](https://varstatt.com/toolkit/dns)
- [SSL](https://varstatt.com/toolkit/ssl)
- [CORS](https://varstatt.com/toolkit/cors)
- [OG Tags](https://varstatt.com/toolkit/og)
