Nameserver Lookup Tool

Get nameservers for any domain with this free tool.

Look up other DNS records

Create a free account now. Your first 500 DNS lookup requests are on us.

Start DNS Lookup API Trial
50 Billion+Domains and subdomains
116 Billion+DNS records
52,000+Satisfied customers
15+Years of data crawling

What can an NS record tell you?

  • Who controls DNS for this domain

    The primary purpose of an NS record is to point to the DNS server that holds the master files for a domain name. If, for example, you want to find the IP address for a website, your computer first looks at the NS record of this website to see which server it should ask for the A or AAAA records.

  • How resilient the domain's DNS setup is

    Most domains have multiple NS records to ensure that if one nameserver goes down or becomes unreachable, the domain name remains accessible. Your browser or network will simply try the next DNS server on the list.

  • How DNS is delegated across subdomains

    NS records are used to delegate subdomains to different servers. For example, a company might use one set of nameservers for their main site but point the NS records for support[.]main_site[.]com to a third-party help desk provider.

DNS Lookup API | WhoisXML API

Get 500 free API credits. No credit card required.

Get started

WhoisXML API's DNS Product Line

Better DNS data leads to better security. Access more DNS record types with WhoisXML API's market-leading DNS intelligence and use it to power your threat intelligence, block DDoS threats, and map your entire attack surface.

  • DNS Database Download

    DNS Database Download

    Fuel your analysis with our market-leading databases that contain historical records for millions of unique FQDNs.

    Explore Database
  • DNS Lookup API

    DNS Lookup API

    Automate your DNS searches. Use API calls to pull IP addresses, MX servers, NS records, and more for any domain name.

    Explore API
  • DNS Lookup Tool

    DNS Lookup Tool

    Validate DNS configurations with ease. Just enter a domain on this web tool to check domain nameservers, A records, CNAME, and other records.

    Explore Lookup
  • DNS Chronicle API

    DNS Chronicle API

    Automate your investigation into historical IP address connections. The tool delivers historical A and AAAA records and reverse search results.

    Explore API
  • DNS Chronicle Lookup

    DNS Chronicle Lookup

    See where a domain pointed in the past. Use this GUI to find historical IP address connections or perform a reverse search.

    Explore Lookup
  • Reverse IP API

    Reverse IP API

    Get a list of all domains associated with an IP address.

    Explore API

Try our other lookup tools

  • TXT Record Lookup

    Retrieve all TXT records for any domain — including SPF, DKIM, DMARC, and other verification strings — with this free tool.

    Try TXT Record Lookup
  • MX Record Lookup

    Find the mail servers responsible for accepting email for any domain, including their priority values, with this free MX lookup tool.

    Try MX Record Lookup
  • CNAME Record Lookup

    Check the canonical name a domain or subdomain is aliased to and trace CNAME chains instantly with this free CNAME lookup tool.

    Try CNAME Record Lookup

What can you do with a nameserver record?

  • Map infrastructure via a reverse NS lookup

    A reverse NS lookup helps you find all domains sharing the same nameserver. This is useful for mapping an organization's attack surface, as it can reveal related subdomains, staging environments, or sister companies that share the same DNS infrastructure.

  • Detect potential malicious activity

    Threat actors reuse infrastructure for phishing and malware. While sharing a nameserver is not high-confidence proof of malice, seeing a newly registered domain point to a nameserver known for hosting malicious campaigns serves as an additional signal for risk scoring.

  • Troubleshoot delegation issues

    NS records verify that a subdomain is correctly handed off to a specific server. If a third-party landing page or support portal is down, checking the NS record confirms if the delegation is active, helping you determine if the issue is a local DNS error or a problem with the provider.

  • Uncover hidden hosting relationships

    Pivoting off an NS record reveals connections between seemingly unrelated sites, allowing security teams to assess shared risk — if one domain is compromised, other domains sharing the same private nameserver may be vulnerable to the same issues.

Frequently Asked Questions

What is a DNS NS record?

An NS record is a type of a Domain Name System (DNS) record that points the Internet to the authoritative DNS server for a domain. It acts as a pointer, directing queries to the specific server that holds the rest of the domain's records, such as A or MX records.

Example: If you look up example[.]com, the NS record might return ns1[.]dnsprovider[.]com. This tells your computer to ask ns1[.]dnsprovider[.]com for the website's IP address.

What data points can a DNS NS record contain?

The main data point in an NS record is the hostname of the nameserver (e.g., ns1[.]nameserver[.]com). It also includes a Time to Live (TTL) value, which tells servers how long to cache the record before checking for an update.

Can a domain have multiple DNS NS records?

Yes, and they usually do. Most domains use at least two NS records for redundancy so that if the primary nameserver is offline, the DNS system automatically tries the secondary server to ensure the website or email remains accessible.

What is a domain's authoritative nameserver?

An authoritative nameserver is the source of truth about a domain's DNS information. Unlike recursive resolvers used by ISPs to cache data, the authoritative DNS server holds the original zone files. Because DNS propagation takes time, DNS data could be different between different DNS servers if it has been changed recently. The authoritative nameserver always serves the current DNS records for the domain.

Who uses our nameserver lookup tool?

Our nameserver lookup tool is used by:

  • Website admins and owners: To verify that their domain is using the intended DNS provider.
  • Network administrators: To troubleshoot connectivity issues or manage infrastructure migrations.
  • Cybersecurity professionals: To get the NS records needed to map attack surfaces or identify infrastructure patterns used by malicious actors.
  • Web developers: To ensure subdomains are delegated correctly to third-party services.

What happens if you have an incorrect or missing NS record?

An incorrect or missing NS record can cause:

  • Intermittent or complete service failure: If you have multiple NS records and only one is wrong, some users may connect while others fail. If there is only one record and it is wrong, you will face a complete blackout. Users will see "NXDOMAIN" or a timeout error because their browser cannot find where the domain is hosted.
  • Lame delegation: This happens when the NS records at your registrar point to a server that doesn't actually have the zone file for your domain.
  • Propagation lag: After fixing an error, it may take time for the change to take effect globally. This is because ISPs and servers cache old records based on the TTL.

How is your tool different from the nslookup command?

nslookup is a command-line interface (CLI) tool built into operating systems like Windows, macOS, and Linux. It requires specific syntax and access to a local terminal or command prompt (CMD). Our tool is web-based, providing a visual interface that's accessible from any browser. This makes it easier to use for quick checks and allows for better visualization of complex data.

How does your tool handle multiple nameserver records for a single domain?

The tool identifies and lists all observed NS records associated with the domain.

Can I use this tool to find NS records for any domain?

Yes. You can query any registered domain name to see its associated nameservers.

How can I check the other types of DNS records?

You may use DNS Lookup API, which returns DNS TXT records, A records, and 50 other DNS record types, or our lookup tool if you prefer a graphical user interface. We also offer the free TXT Record Lookup, MX Record Lookup, and CNAME Record Lookup tools to retrieve a domain name's TXT, MX, or CNAME records, respectively.

Trusted by
the smartest
companies

You may be interested

MAC Address API
MAC Address API

Get vendor information, detect virtual machines, manufacturer, location, read the information encoded in the MAC address.

Learn more
WHOIS Database Download
WHOIS Database Download

We provide complete and relevant domain WHOIS data which can be customized and easily integrated as per your business needs.

Learn more
SSL Certificates Database
SSL Certificates Database

Get the most comprehensive database of SSL (Secure Sockets Layer) Certificates.

Learn more
SSL Certificates API
SSL Certificates API

Check a domain’s SSL certificate chain via API calls.

Learn more
Website Categorization
Website Categorization

Define website category of the given domain.

Learn more
Domain Research Suite
Domain Research Suite

Enhance your domain research toolkit by our enterprise-grade web-based solution that helps you in searching...

Learn more
Domain Availability
Domain Availability

The most accurate domain availability checker offered on the market.

Learn more
Subdomains Lookup
Subdomains Lookup

Discover subdomains related to the target domain name.

Learn more
Reverse MX
Reverse MX

Reveal all the domains that use the same mail server.

Learn more
Registrant Alert
Registrant Alert

Find out which domains were added or dropped by registrants, with given search criteria.

Learn more
DNS Lookup Services
DNS Lookup Services

Identify who is hosting a particular domain name or website.

Learn more
MAC Address Vendor Database
MAC Address Vendor Database

Get the most comprehensive database of registered MAC address blocks, also referred to as OUIs (Organizationally Unique Identifiers).

Learn more
Real-time SSL Certificates Streaming
Real-time SSL Certificates Streaming

Get data feeds of SSL certificates along with their well parsed fields in real time. Accurate. Up-to-date.

Learn more
Email Verification
Email Verification

Ensure the validity and quality of any email address.

Learn more
Brand Alert
Brand Alert

Monitor exact matches, variations and common misspellings of your brand name & trademarks.

Learn more
Reverse IP
Reverse IP

Find relations like ownership between hostnames and IPs.

Learn more
WHOIS Search
WHOIS Search

Get well-parsed and normalized WHOIS information for any domain name, IP address or email.

Learn more
Newly Created Websites Data Feed
Newly Created Websites Data Feed

Get insights for the new business registered on the web.

Learn more
Threat Intelligence API
Threat Intelligence API

Easily identify malicious resources and retrieve their threat information.

Learn more
Reverse NS
Reverse NS

Find all domains that use the same name server.

Learn more
Newly Registered Domains
Newly Registered Domains

Keep track of the best business opportunities online.

Learn more
Domains & Subdomains Discovery API
Domains & Subdomains Discovery API

Find domains and subdomains related by specific terms in their hostnames.

Learn more
Reverse DNS
Reverse DNS

Give the list of domain names tied to the specified DNS records via API calls with outputs in JSON and XML.

Learn more
IP Geolocation
IP Geolocation

Find out the exact physical location of any IP address, email or domain name.

Learn more
IP Netblocks
IP Netblocks

Find out which IP range the particular IP belongs to.

Learn more
Threat Intelligence Data Feeds
Threat Intelligence Data Feeds

Get the most relevant data to be ahead of emerging security threats.

Learn more
Domain Reputation API
Domain Reputation API

Assess the domain's or IP addresses reputation and risk profile with a simple score based on a comprehensive...

Learn more
Reverse WHOIS
Reverse WHOIS

Find connections between various domains, individuals and organizations.

Learn more
Typosquatting Data Feed
Typosquatting Data Feed

Easily detect all typosquatting domain names as soon as they are registered each day.

Learn more
Domain Registration Streaming
Domain Registration Streaming

Get data feeds of new registered domains along with their WHOIS data generated in real time.

Learn more
Screenshot Service
Screenshot Service

Instantly get a screenshot of any web page.

Learn more