# DNS Query Tool

Query DNS records and domain resolution information including A, AAAA, MX, TXT, NS, and CNAME records

> Canonical page: https://elysiatools.com/en/tools/dns-query

- **Category:** Network

- **Keywords:** dns, domain, query, lookup, resolution, records, nameserver, dns query, domain lookup

## Overview

The DNS Query Tool allows you to perform real-time lookups for domain records, providing instant visibility into how your domain is configured across the internet. Whether you are troubleshooting connectivity or verifying DNS propagation, this utility retrieves accurate A, AAAA, MX, TXT, NS, and CNAME records with ease.

## Inputs

- **Domain Name** (text): Enter domain name (e.g., google.com)
- **Record Type** (select)
- **Nameserver** (text): Custom nameserver (optional)
- **Show All Record Types** (checkbox)
- **Show Detailed Information** (checkbox)

## When to use

- Verifying that your domain's IP address is correctly mapped after a server migration.
- Checking if email delivery issues are caused by misconfigured MX or TXT records.
- Confirming that DNS changes have propagated globally across different nameservers.

## How it works

- Enter the domain name you wish to investigate in the input field.
- Select the specific record type (e.g., A, MX, TXT) or choose to view all available records.
- Optionally specify a custom nameserver to query if you need to bypass default system resolvers.
- Click the query button to receive a detailed breakdown of the requested DNS records.

## Use cases

- Validating SPF and DKIM configurations by inspecting TXT records.
- Debugging website downtime by checking if the A record points to the correct server IP.
- Managing mail server transitions by verifying updated MX record priority and destination.

## Frequently asked questions

### What is an A record?

An A record maps a domain name to its corresponding IPv4 address.

### Can I check records from a specific nameserver?

Yes, you can input a custom nameserver address in the optional field to perform a targeted lookup.

### What does a CNAME record do?

A CNAME record maps an alias domain name to the true or canonical domain name.

### Why are my DNS changes not showing up?

DNS changes can take time to propagate globally due to TTL (Time to Live) settings on cached records.

### What is the difference between A and AAAA records?

A records are for IPv4 addresses, while AAAA records are for IPv6 addresses.

## Related tools

- [IP Info](https://elysiatools.com/en/tools/ip-info): Get real information about IP addresses including location and ISP details using geolocation database
- [WHOIS Lookup](https://elysiatools.com/en/tools/whois-lookup): Query WHOIS domain registration information including registrar, dates, and name servers
- [DNS Zone File Record Builder](https://elysiatools.com/en/tools/dns-zone-file-record-builder): Build RFC 1035 DNS zone files (SOA + NS/A/AAAA/CNAME/MX/TXT/SRV/CAA/TLSA/NAPTR/DS) with per-record validation and a readable summary.
- [llms.txt / AI Crawler Audit Generator](https://elysiatools.com/en/tools/llms-txt-and-ai-crawler-audit): Generate an llms.txt file (llmstxt.org v2 format: H1, blockquote summary, H2 file lists) from a live site crawl or a pasted page inventory, and audit robots.txt policies for GPTBot, ClaudeBot, PerplexityBot and Bytespider using the RFC 9309 matching algorithm — with allow/block previews and ready-to-paste directives.
- [Multiline Merger](https://elysiatools.com/en/tools/multiline-merger): Merge multiple lines into a single line with customizable separators and formatting options
- [Text Pad & Align](https://elysiatools.com/en/tools/text-pad): Pad text to a fixed width and align it left, right, center, or justified, with a chosen pad character.
- [BGP Community Regex Tester and Looking-Glass Explainer](https://elysiatools.com/en/tools/bgp-community-string-regex-tester-and-looking-glass): Validate RFC 8294 BGP community regex patterns against a set of communities, match sample AS-paths, and generate Cisco/Juniper/FRR route-policy output.
- [CIDR Calculator](https://elysiatools.com/en/tools/cidr-calculator): Calculate network information from CIDR notation. Supports IPv4 and IPv6.

## Samples

- [URL Query Analyzer Samples](https://elysiatools.com/en/samples/url-with-query-samples): Comprehensive collection of URLs with query parameters for testing URL parsing, encoding validation, and parameter extraction
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Copyright-Free MP3 Audio Samples](https://elysiatools.com/en/samples/mp3-samples): Collection of royalty-free audio samples for testing and development purposes including nature sounds, meditation music, and ambient audio

## Related content

- [Email MIME Delivery Prep and Handoff](https://elysiatools.com/en/hubs/email-mime-delivery-workflows): Validate recipients, inspect domain and DNS signals, encode MIME-safe content, add tracking parameters, and package a pre-send handoff artifact.
- [Network Triage, Packet Inspection, and Endpoint Debugging](https://elysiatools.com/en/hubs/network-triage-debugging): Inspect captures, replay webhooks, validate addresses and CIDR ranges, check DNS, WHOIS, hosts files, TLS, and user agents, then record a focused network diagnosis.
- [Network Address Conversion and Evidence Preparation](https://elysiatools.com/en/hubs/network-convert): Validate addresses, convert IPv4 and IPv6 formats, normalize URL and webhook inputs, and package DNS, hosts, port, WHOIS, and packet evidence for review.
