Home › Developer Tools › NS Lookup

NS Lookup

Enter a domain to see which nameservers are authoritative for it, their IP addresses, the zone's SOA settings and which DNS provider runs them. Queries go straight from your browser to a public DNS-over-HTTPS resolver.

Last updated:

Try:

Enter a domain and click Find nameservers to see which DNS servers are authoritative for it.

Advertisement
Advertisement

How to use the NS Lookup

  1. Type a domain such as example.com. URLs and email addresses work too; the domain is taken from them.
  2. Click Find nameservers or press Enter.
  3. Read the summary: who hosts the DNS, how many nameservers there are and whether DNSSEC validated.
  4. Check the table for each nameserver's addresses and TTL, and the SOA block for zone timing values.
  5. Fix any warnings at your registrar (the NS delegation) or DNS host, then look it up again.

Nameservers of common DNS providers

When you move a domain's DNS, the new provider assigns nameservers that you then enter at your registrar. These are the typical patterns; always copy the exact names from your provider's dashboard, because many are assigned per account or per zone.

DNS providerTypical nameserver namesNotes
Cloudflareada.ns.cloudflare.com, bob.ns.cloudflare.comTwo first names, assigned per account
Amazon Route 53ns-123.awsdns-45.com plus .net, .org and .co.ukFour names on four top-level domains per hosted zone
Google Cloud DNSns-cloud-a1.googledomains.com to a4Letter set (a–e) assigned per zone
Microsoft Azure DNSns1-01.azure-dns.com, .net, .org, .infoFour names per zone
GoDaddyns01.domaincontrol.com, ns02.domaincontrol.comNumbers vary by account
Namecheapdns1.registrar-servers.com, dns2.registrar-servers.comDefault for Namecheap BasicDNS
DigitalOceanns1.digitalocean.com to ns3Same three for all customers

Delegation, glue and TTL in plain terms

  • Two copies of the NS list exist. The registrar publishes your nameservers in the parent zone (for example .com), and your DNS host publishes them again inside your zone. Both should list the same servers; a mismatch is a common leftover after a migration.
  • Glue records are needed only when the nameservers are inside the domain they serve (ns1.example.com for example.com). The registrar then also stores their IP addresses so resolvers can find them without a circular lookup.
  • A lame delegation is a listed nameserver that does not answer for the zone, or does not exist. Resolvers retry other servers, so the site may still work but load more slowly; remove or fix the bad entry.
  • Plan migrations around the TTL. Copy every record to the new provider first, switch nameservers at the registrar, and keep the old zone unchanged for at least 48 hours. Check the new records with the DNS Lookup and watch resolvers update with the DNS Propagation Checker.

Frequently asked questions

What is an NS record?

An NS (name server) record says which DNS servers hold the authoritative records for a domain. When someone visits your site, resolvers ask those servers for the A, MX, TXT and other records. The NS records are set at your registrar (the delegation in the parent zone, such as .com) and are also published inside your own zone.

How do I find out who hosts my DNS?

Look at the nameserver host names. Cloudflare uses names ending in ns.cloudflare.com, Amazon Route 53 uses awsdns-NN domains, Google Cloud DNS uses ns-cloud-*.googledomains.com, and GoDaddy uses domaincontrol.com. This tool recognizes more than 50 providers automatically. DNS hosting can differ from your registrar and your web host.

How many nameservers should a domain have?

At least two, on different machines, so the domain keeps working if one fails. Most providers give you two to four. Large anycast networks such as Cloudflare or Route 53 already spread each name across many locations, so two of their names are robust.

How long does a nameserver change take?

Changing nameservers at the registrar updates the parent zone within minutes to a few hours, but resolvers that cached the old NS records keep using them until the TTL expires. For .com and .net the delegation TTL is 48 hours, so allow up to two days and keep the old DNS zone running until then.

What is the SOA record?

The Start of Authority record describes the zone: the primary nameserver, the administrator's email (written with a dot instead of @), a serial number that increases with every change, and timers that tell secondary servers how often to refresh, how long to retry and when to expire their copy. Its last field is the TTL used for caching negative (not found) answers.

Why does a subdomain show the parent domain's nameservers?

Most subdomains such as www.example.com are just records inside the example.com zone and have no NS records of their own. The tool walks up to the zone that holds the NS records and shows those servers. If a subdomain is delegated to other nameservers, its own NS records are shown instead.

Is my lookup private?

The domain is sent directly from your browser to Cloudflare's or Google's public DNS-over-HTTPS resolver, the same kind of query your device makes when it opens a website. FreeToolCabin does not receive or store it.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

DNS LookupLook up A, AAAA, MX, TXT, NS, CNAME, SOA and CAA records with TTLs over secure DNS.CNAME LookupFollow a hostname's full CNAME chain to its final IP addresses, with TTLs and CDN detection.WHOIS LookupLook up who registered a domain or IP: registrar, creation and expiry dates, name servers, status.DNS Propagation CheckerCompare DNS answers and TTLs from Cloudflare, Google, Quad9, AdGuard and NextDNS side by side.Email ValidatorCheck email lists and spot disposable addresses.Website Down CheckerCheck if a website is down for everyone.Deep Link GeneratorCreate links that open directly in apps.URL ParserBreak a URL into its parts and edit query string parameters with a live rebuild.User Agent ParserSee your user agent and parse any UA string into browser, OS, engine and device.HTTP Status CodesSearch every HTTP status code with plain-English meanings, causes, fixes and RFC references.Subnet CalculatorCalculate IPv4 network, broadcast, host range, masks and host count, and split subnets.Bulk URL OpenerOpen a list of URLs in new tabs at once or in batches, with cleanup, dedupe and delay.API Request TesterSend GET, POST, PUT and DELETE requests with headers and a body, then inspect the response.WebSocket TesterConnect to a ws:// or wss:// server, send messages and watch a timestamped live log.Mailto Link GeneratorBuild encoded mailto: links with cc, bcc, subject and body, plus HTML code and a QR code.WhatsApp Link GeneratorCreate wa.me click-to-chat links with a pre-filled message, button HTML and a QR code.Basic Auth Header GeneratorCreate an Authorization: Basic header from a username and password, or decode one.Common Ports ListSearchable TCP/UDP port number list with service, protocol and description, filterable by range.DMARC CheckerLook up a domain's DMARC record, explain every tag, grade the policy and get fix suggestions.DMARC Record GeneratorCreate a DMARC TXT record with policy, reporting and alignment options, every tag explained.Email Header AnalyzerPaste raw email headers to trace every server hop, see delays and check SPF, DKIM and DMARC.IP Geolocation LookupFind the country, city, ISP, ASN and time zone of any IP address or domain, with a map.Reverse DNS LookupFind the PTR hostname of any IPv4 or IPv6 address, one at a time or hundreds in bulk.SPF Record CheckerLook up a domain's SPF record, count nested DNS lookups, find errors and test a sender IP.SPF Record GeneratorBuild a valid SPF TXT record from mail providers, IPs and includes, with a lookup-count check.CIDR to IP RangeConvert IPv4 or IPv6 CIDR blocks to first/last IP, mask and host count, and export IP lists.Domain Availability CheckerCheck if domain names are available across .com, .io, .ai and more, with registrar and expiry.MAC Address LookupFind the vendor of a MAC address or OUI, check multicast and random bits, look up many at once.MX LookupFind a domain's mail servers: MX priority, host, IP addresses and the email provider.Uptime SLA CalculatorTurn 99.9% uptime into allowed downtime per day, month and year, or downtime into uptime %.Website Speed TestTest page speed with Lighthouse: performance score, Core Web Vitals and fixes, mobile or desktop.ASN LookupLook up an AS number or IP: network owner, country, registry, abuse contact and announced prefixes.Bandwidth CalculatorEstimate monthly website bandwidth (GB) and the Mbps you need from page views and page size.CORS TesterSend GET, POST or OPTIONS from your browser to any API and see whether CORS allows it and why not.DKIM Record CheckerLook up a domain's DKIM key by selector (or auto-detect), check key type, bit length and tags.DKIM Record GeneratorCreate a DKIM RSA key pair in your browser with the TXT record, selector host and private key PEM.DMARC Report AnalyzerRead DMARC aggregate XML reports (.xml, .gz, .zip): sources, SPF/DKIM alignment and pass rates.Domain Age CheckerSee how old a domain is, when it was registered and when it expires. Bulk check up to 50.Subnet Mask Cheat SheetInteractive /0 to /32 table of subnet masks, wildcards and host counts with details per prefix.TXT Record LookupLook up a domain’s DNS TXT records and see which are SPF, DMARC, DKIM or verification tokens.VLSM CalculatorSplit a network into variable-length subnets sized to the hosts each one needs.YouTube Timestamp Link GeneratorMake YouTube links that start at a set time, embed start/end codes and lists of timestamps.Email Deliverability CheckerGrade a domain's MX, SPF, DMARC, DKIM, BIMI and MTA-STS records in one report with fixes.Email ObfuscatorHide an email address from spam bots with HTML entities, a JavaScript mailto link or reversed CSS text.Email PermutatorGenerate every common business email format from a first name, last name and company domain.HTTP Header ParserPaste raw HTTP headers to get a table explaining each one plus a security headers grade.IP Blacklist CheckerCheck an IPv4 address against 21 public spam blocklists (DNSBLs) and see listed or clean.IP Range to CIDRTurn a start and end IP into the shortest list of CIDR blocks, for IPv4 and IPv6.IPv6 Subnet CalculatorIPv6 prefix to network, range, address count and /64s, and split it into child subnets.Link in Bio Page GeneratorCreate a link-in-bio page with avatar, bio, links and theme, then download it as one HTML file.Social Share Link GeneratorMake share links and buttons for Facebook, X, LinkedIn, Reddit, Pinterest, WhatsApp and email.
See all 52 Network, DNS & Email Tools →