Logo
Logo

PRODUCTS

TOOLS

pricing background

NS Lookup: Check Nameserver Records

Look up the authoritative nameservers for any domain, with TTL values and resolver-latency data. Compare results against the WHOIS nameserver entry to verify DNS delegation or detect unexpected NS changes that may signal hijacking.
17.8B+
Dns Records Count
6.4B+
Host Names Count
148ms
Average Dns Resolution
9
Supported Dns Records

Run a Nameserver Lookup for Any Domain

Try these examples:

What Is a Nameserver (NS Record)?

A nameserver lookup retrieves the Name Server (NS) records for a domain: the authoritative DNS servers responsible for answering all queries about that domain.

Authoritative Nameservers
NS Record TTL
DNS Delegation
Hijacking Detection

Feature: Identify the authoritative nameservers a domain has been delegated to at the registrar level

Feature: Verify NS propagation after a DNS provider migration - a required check before decommissioning old infrastructure

Feature: Detect domain hijacking: unexpected NS changes are the first visible sign of a compromised registrar account

Feature: Compare against the WHOIS nameserver entry to spot delegation mismatches or in-progress propagation

For continuous nameserver-change monitoring across portfolios, registrar-account compromise alerts, and bulk NS verification at scale, the DNS Checker API for nameserver monitoring returns NS records with TTL data in JSON for thousands of domains per minute.

Who Needs to Check Nameservers?

NS Lookup is the fastest way to answer two questions: "is this domain still using the nameservers it should be?" and "did anyone change the NS records when they shouldn't have?". The four use cases below are where these questions matter most.

Domain Administrators & DNS Managers

After migrating a domain to a new DNS provider, NS Lookup verifies the delegation change has propagated globally - confirming the new nameservers are authoritative. This is a required check before decommissioning old DNS infrastructure. Compare NS results here against the nameserver field in WHOIS Lookup - they should match.

Security Teams & Domain Hijacking Detection

Unauthorized nameserver changes are the primary indicator of domain hijacking. If an attacker gains access to your registrar account or exploits a registrar vulnerability, the first thing they change is the NS records - redirecting all DNS to servers they control. Regular NS record monitoring and alerting on unexpected changes is a critical security control for any organization managing valuable domains.

Threat Intelligence & Infrastructure Attribution

Threat actors often reuse specific DNS hosting providers or even operate their own nameservers across multiple malicious domains. A Reverse DNS Lookup by nameserver hostname surfaces all domains using the same NS - an effective clustering technique for attributing campaign infrastructure. The WhoisFreaks Reverse DNS tool supports NS-based reverse lookups directly.

ISPs & Registrars

Registrars verify NS delegation is working correctly for customer domains. ISPs check NS configurations as part of domain troubleshooting. Hosting providers use NS Lookup to confirm customers have properly updated their domain delegation to point to the provider's nameservers before propagating changes.

How to Check NS Records for a Domain

Enter the domain in the search box above and the tool returns every authoritative nameserver with its TTL. No account or install needed.

To check from a terminal instead:

Windows, using nslookup:

BASH
nslookup -type=ns example.com

macOS and Linux, using dig:

BASH
dig NS example.com +short

Any platform

BASH
host -t ns example.com

The command-line result and the result above should match. If they differ, you are seeing a cached answer from your local resolver rather than the authoritative record. This tool queries authoritative nameservers directly, so it bypasses resolver caching entirely.

What Your NS Lookup Results Show

Only the top two are fields of the NS record itself. The rest is context around it, and the WHOIS row is where most delegation problems surface.

What you see
What it tells you
Nameserver hostname
The authoritative server answering DNS queries for the domain, for example ns1.example-dns.net
TTL
How long resolvers cache the NS record before re-querying. Typical NS TTLs run 3,600 to 86,400 seconds.
Record count
Most domains list 2 to 4 nameservers. Fewer than 2 breaks redundancy requirements at most registries.
WHOIS nameserver entry
What the registrar has on file. This should match the live NS records.
Resolver latency
How long the authoritative server took to answer, in milliseconds.

A domain whose nameservers all sit on one provider has a single point of failure. A domain whose WHOIS entry and live NS records disagree is either mid-propagation or compromised.

Why Use the WhoisFreaks Nameserver Checker?

WhoisFreaks queries authoritative DNS sources directly rather than relying on cached resolver data, returning NS records with TTL values and resolver-latency context. The tool also exposes both the registrar-level WHOIS nameserver entry and the live NS records, so delegation mismatches show up at a glance.

  • Authoritative NS records with TTL values - useful for predicting how quickly a delegation change will propagate
  • Side-by-side comparison with the WHOIS nameserver entry to surface delegation lag or hijacking signals
  • For historical NS data, use Historical DNS Lookup; for bulk NS monitoring, use the DNS Checker API
Tip

A mismatch between the nameservers shown in WHOIS and the actual NS records returned by DNS can indicate a propagation lag - or in serious cases, a domain hijack in progress. Always check both. For historical NS records to verify when a change occurred, use the Historical DNS Lookup.

Recent Nameserver Lookups

For request/response examples, NS-record-specific filtering, and bulk processing details, see the DNS Checker API documentation.

NS Lookup FAQs

Common questions about nameserver records, DNS delegation, and propagation checking.

What is an NS Lookup?

Why would I need to check NS records?

What is the difference between NS records and a WHOIS nameserver entry?

How many nameservers does a domain typically have?

Can NS Lookup help detect domain hijacking?

What is the TTL on NS records and why does it matter?

What are glue records, and when does a domain need them?

How do I find out which DNS provider is authoritative for a domain?

How do I do a reverse NS lookup?