Skip to main content
Guides/DNS Records

Nameservers: Understand and Use the Results

List nameservers and detect DNS provider

EdgeDNS Team·Updated ·5 min read

NS records: the upstream switch that decides everything else

An NS record ("Name Server" record) is a special type of DNS entry that tells the rest of the internet which servers are authoritative for answering questions about a particular domain. NS records sit at the very top of the DNS chain. When a resolver wants to know anything about `example.com` — its A record, its MX records, its TXT records, anything — the first thing it asks is, "who is in charge of `example.com`?" The answer is a list of NS records, and from then on the resolver only asks those servers. The NS records are the upstream switch that controls every single piece of DNS for the domain.

You should care because changing NS records is the single most consequential thing you can do to a domain, and it is also the easiest thing to break by accident. When you transfer a domain between registrars, when you switch DNS providers (from GoDaddy to Cloudflare, say), when you inherit a domain from a former employee who left without proper documentation — all of these involve NS records, and any mistake breaks the entire domain at once. There is no "only the website is broken" or "only the email is broken" — it is everything, immediately.

The five things every NS record check looks at:

  • Which nameservers are listed? This is how you tell at a glance whether a domain is on Cloudflare, Route 53, Google Cloud DNS, GoDaddy, Namecheap, or somewhere else.

  • Are the listed nameservers actually responding? A nameserver that exists in the NS record but doesn't answer queries is the same as no nameserver at all.

  • Are all the listed nameservers in agreement? If two nameservers return different answers for the same query, you have an inconsistency that will manifest as random intermittent failures.

  • Is the parent zone in sync? The NS records exist in two places — at the registrar (the "parent") and at the authoritative nameservers themselves (the "child"). They should match. Mismatches are called lame delegations and cause subtle problems.

  • Are glue records correct? When a nameserver hostname is itself inside the domain it serves (`ns1.example.com` serves `example.com`), the registrar needs a glue record with the IP address. Without it, you have a chicken-and-egg problem.

Three questions an NS record check answers:

  • Which DNS provider is currently authoritative for this domain?

  • Did the recent registrar transfer or DNS provider migration complete cleanly, with no lame delegations?

  • Are all the listed nameservers actually responding, and are they all giving the same answers?

The cost of broken NS records is total domain failure — every aspect of the domain (web, email, certificates, subdomains) stops working until the issue is fixed. The fix is sometimes hours of registrar-support back-and-forth. The prevention is checking NS records every time you make a registrar or DNS-provider change, and on a recurring schedule for any domain you actually care about. NS records and the broader domain delegation system are documented in RFC 1034 and RFC 7344.

The Nameservers endpoint, in plain language

List nameservers and detect DNS (Domain Name System) provider

Separates published nameserver addresses from measured authority and incomplete checks. Parent referral glue is not measured and remains unknown. A bounded TCP sample helps diagnose authority failures without claiming full transport or address coverage.

What is actually happening when you call it

Uses DNS (Domain Name System) discovery plus bounded direct DNS probes to nameserver addresses. Records authoritative-answer evidence, lame-delegation findings and per-server validation outcomes. A timeout or unsupported response does not establish that a nameserver is authoritative or secure.

Why this specific tool matters

Choose a task: Competitive Infrastructure Analysis. Analyze which DNS (Domain Name System) providers competitors use to understand their infrastructure choices, detect lame delegations, and assess DNS resilience.

Run the Nameservers 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 Nameservers reference to check the field definitions and supported options.

Info:

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

When would I actually use this?

Competitive Infrastructure Analysis

Analyze which DNS (Domain Name System) providers competitors use to understand their infrastructure choices, detect lame delegations, and assess DNS resilience.

Use the finding: Inform architecture decisions based on industry patterns and competitor choices.

DNS Migration Planning

Document current nameserver configuration before migrating DNS (Domain Name System) to a new provider.

Use the finding: Ensure complete DNS (Domain Name System) migration with no orphaned records or misconfigurations.

Vendor Assessment

Evaluate third-party vendor DNS (Domain Name System) infrastructure as part of security due diligence.

Use the finding: Identify vendors using consumer-grade DNS (Domain Name System) that may lack enterprise security features.

The easiest way: just ask your AI assistant

Connect the MCP server. Just ask in plain English:

Use dns_ns 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 Nameservers, 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 Nameservers 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/ns?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"

Prepare inputs for Nameservers

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

FieldTypeRequired?What it meansExample

domain

string

Yes

The domain to query nameservers for

example.com

Interpret Nameservers findings

Read these fields alongside the full response from your Nameservers 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

complete

boolean

Whether owning-zone discovery and the stated sampled authority coverage completed.

zone

string|null

SOA-discovered owning zone; null when discovery did not complete.

domain

string

The queried domain

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.

IPv4 (Internet Protocol version 4) — The original kind of internet address — four numbers separated by dots, like 203.0.113.10. The internet has run out of new ones, which is why IPv6 exists.

IPv6 (Internet Protocol version 6) — The newer, longer kind of internet address. Looks like 2001:0db8:85a3::8a2e:0370:7334. Designed because the world ran out of IPv4 addresses.

Need Programmatic Access?

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

Nameservers: Results Guide | EdgeDNS