Skip to main content
Guides/DNS Records

DNS Lookup: Understand and Use the Results

Query any of 22 DNS record types or ALL at once with DNSSEC validation

EdgeDNS Team·Updated ·7 min read

DNS, the internet's address book — explained without the jargon

Every action you take on the internet — typing a URL into a browser, clicking a link, opening an app on your phone, sending an email — quietly starts with a tiny background conversation called a DNS lookup. Computers do not actually know what `example.com` is. They only know how to talk to numeric addresses, like `203.0.113.10` (or the longer IPv6 form, like `2001:db8::1`). The job of DNS — the Domain Name System, designed by Paul Mockapetris in 1983 — is to translate human-friendly names into the numeric addresses computers actually use. It is the world's biggest, oldest, and most-used translation service, and it runs every single time you open anything on the internet.

You should care because everything you care about online depends on DNS being correct, and DNS is invisible until it breaks. When DNS is right, you don't notice it. When it's wrong, nothing works in the same confusing way: emails bounce, websites show error pages, security certificates are rejected, apps fail to load, and the error messages rarely point at DNS as the actual cause. Understanding the basics of DNS is one of the highest-leverage pieces of technical literacy a non-technical person can learn — because it lets you skip past hours of confusion the next time something "just stopped working."

The five things every DNS lookup actually checks:

  • A records — map a domain to an IPv4 address. The most common record type, and the one you usually mean when you say "point this domain at this server."

  • AAAA records ("quad-A") — same idea, but for the newer IPv6 address format.

  • CNAME records — alias one name to another ("`www.example.com` is the same as `example.com`"). Useful for hosted services.

  • MX records — list the mail servers that handle email for a domain.

  • TXT records — hold arbitrary text used by SPF, DKIM, DMARC, domain-verification handshakes, and dozens of other systems.

Three questions every DNS lookup answers in real life:

  • Is this domain pointing to the right server right now?

  • Did the DNS change I just made actually take effect?

  • Is anything in my DNS misconfigured in a way that would break my website or my email?

The cost of getting DNS wrong is total: a misconfigured A record can take a website offline; a missing MX record can stop every customer reply from arriving; a wrong nameserver setting can break the entire domain. The cost of checking DNS is two seconds and a free tool. This is the most fundamental layer of the internet, and the one that most rewards a small amount of curiosity. The DNS protocol itself is documented in RFC 1034 and RFC 1035, and the architecture has been remarkably stable for over forty years.

The DNS Lookup endpoint, in plain language

Query any of 22 DNS (Domain Name System) record types or ALL at once with DNSSEC (Domain Name System Security Extensions) validation

Returns results in a format your code or AI can read easily instead of dig's text output — no parsing, no flag-juggling, no missing fields. The HTTPS/SVCB support (RFC (Request for Comments) 9460) means a single request can answer "is this site reachable over HTTP/3?" or "has the operator published an ECH (Encrypted Client Hello) key?" — questions that previously required multiple `dig` invocations and manual presentation-form parsing. CNAME-chain following surfaces the actual destination behind apex aliases. Per-type DNSSEC (Domain Name System Security Extensions) authentication on type=ALL means audit pipelines see exactly which record types are signed, not a misleading aggregate.

What is actually happening when you call it

Queries DNS (Domain Name System) records via DNS-over-HTTPS (RFC (Request for Comments) 8484) across 22 record types: A, AAAA, CNAME (Canonical Name record), MX, NS, TXT, SOA, SRV, CAA, PTR (pointer (reverse DNS) record), DNSKEY (DNS public key record), DS, TLSA, NAPTR, SSHFP, HTTPS (secure HyperText Transfer Protocol), SVCB (Service Binding record), DNAME, LOC, URI, CERT, and SMIMEA. HTTPS and SVCB records (RFC 9460) are parsed into structured SvcParams — `alpn`, `port`, `ipv4hint`, `ipv6hint`, and `ech` — so callers can confirm HTTP/3 readiness and Encrypted Client Hello key publication in a single lookup. Follows CNAME chains automatically per RFC 1034 §3.6.2 (up to 8 hops with loop detection) and returns the full chain so apex-CNAMEs through CDNs resolve to their final addresses. Use type=ALL to fan out across all 22 types in parallel; the response includes a per-type DNSSEC (Domain Name System Security Extensions) authenticated flag rather than collapsing to a single value.

Why this specific tool matters

Choose a task: Email Deliverability Pre-Check. Before sending campaigns, verify that recipient domains have properly configured MX records pointing to active mail servers and are not configured with Null MX (RFC (Request for Comments) 7505).

Run the DNS Lookup request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the DNS Lookup reference to check the field definitions and supported options.

Info:

Available on the free plan. The technical details: `GET /v1/dns/lookup`.

When would I actually use this?

Email Deliverability Pre-Check

Before sending campaigns, verify that recipient domains have properly configured MX records pointing to active mail servers and are not configured with Null MX (RFC (Request for Comments) 7505).

Use the finding: Detect recipient domains with missing mail routes or explicit email rejection before attempting delivery.

Domain Migration Monitoring

During domain migrations, continuously query multiple record types to verify changes propagated correctly.

Use the finding: Catch misconfigurations before they impact users, reducing migration-related downtime.

Security Configuration Audit

Automated scanning of TLSA (DANE), DNSKEY (DNS public key record), DS, and CAA records across organization domains to verify DNSSEC (Domain Name System Security Extensions) chains, certificate pinning, and CA authorization policies.

Use the finding: Maintain security policy compliance across hundreds of domains with automated checks covering the full DNS (Domain Name System) security stack.

The easiest way: just ask your AI assistant

Connect the MCP server. Just ask in plain English:

Use dns_lookup with domain=example.com. Show the returned findings, identify unavailable evidence, and explain a useful next check.

Confirm the tool and inputs in the client before accepting its summary. For DNS Lookup, use the response fields below to separate observations from recommendations.

Tip:

The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.

The technical way: call it from code

This DNS Lookup request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the free plan or higher; adapt the target to your task.

bash
curl --request GET 'https://api.edgedns.dev/v1/dns/lookup?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"

Prepare inputs for DNS Lookup

Start with the inputs below. Keep the same hostname, path, and options when comparing DNS Lookup observations. The API reference contains the complete parameter contract, optional settings, and access requirements.

FieldTypeRequired?What it meansExample

domain

string

Yes

The domain name to query (e.g., example.com)

example.com

Interpret DNS Lookup findings

Read these fields alongside the full response from your DNS Lookup check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.

FieldTypeWhat you'll see in it

domain

string

The queried domain

record_type

string

The DNS (Domain Name System) record type queried (single type, or "ALL")

records

array

Array of DNS (Domain Name System) records with type, value, TTL (time to live), priority, weight (SRV), and port (SRV). HTTPS/SVCB records also include a parsed `svcb` object with priority, target, alpn[], port, ipv4hint[], ipv6hint[], has_ech, ech, no_default_alpn, raw_params (RFC (Request for Comments) 9460).

Words you might be wondering about

DNS (Domain Name System) — The internet's address book. When you type a website name, DNS turns it into the actual numeric address computers use to find each other.

TTL (time to live) — How long, in seconds, a piece of information should be remembered before being looked up again.

HTTP (HyperText Transfer Protocol) — The language web browsers and websites use to talk to each other.

HTTPS (secure HyperText Transfer Protocol) — HTTP with encryption — the little padlock in your browser. It means nobody between you and the website can read what you're sending.

CNAME (Canonical Name record) — A DNS entry that says "this name is just an alias for that other name."

DNSKEY (DNS public key record) — A DNS entry that holds the public key used to verify DNSSEC signatures — part of the chain that proves your DNS records haven't been tampered with.

DNSSEC (Domain Name System Security Extensions) — A way to digitally sign DNS records so attackers can't trick your computer into looking up the wrong server.

JSON (JavaScript Object Notation) — A lightweight format for sending data between programs. Looks like { "name": "example", "age": 5 }. Used by basically every modern web API.

RFC (Request for Comments) — The official internet standards documents. When someone says 'RFC 8484' they mean a specific numbered standards document — in that case, the one defining DNS over HTTPS.

PTR (pointer (reverse DNS) record) — The reverse-DNS record that maps an IP back to a hostname. Residential-ISP PTRs (`.dyn.`, `.cable.`, `.broadband.`) on rotating IPs are a strong fast-flux signal — they indicate compromised consumer endpoints.

SVCB (Service Binding record) — A modern DNS record (RFC 9460) that publishes service-connection parameters — preferred ALPN, port, hints — in DNS instead of requiring multiple connection attempts.

ECH (Encrypted Client Hello) — A TLS 1.3 extension that encrypts the SNI (the server name) so an on-path observer can't see which website you're visiting. The public key is published as a SvcParam in the HTTPS DNS record.

Need Programmatic Access?

Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.

DNS Lookup: Results Guide | EdgeDNS