What Are Nameservers, and How Do You Find a Domain's?

The Venbit TeamNovember 30, 20265 min read

48 h

is how long .com and .net let nameserver records be cached (172,800 seconds)

The short answer

Nameservers are the servers that hold a domain's DNS records and answer where its website and email live. Every domain lists at least two, set at the registrar. To find them, run a free domain lookup, or type nslookup -type=ns yourbusiness.com on Windows or dig NS yourbusiness.com +short on a Mac. Their shared ending names your DNS company.

They look like ns01.domaincontrol.com and ns02.domaincontrol.com, which are the two this site uses. The names come in a set with a shared ending, and that ending belongs to the company answering for the domain, here GoDaddy.

Nameservers hold the records that point your domain

RFC 1034, the standard that defines DNS, describes name servers as "server programs which hold information about the domain tree's structure and set information." For a business that information is a short list of records: one says which server shows the website, one says which company receives the email, and a few prove to Google or Microsoft that the domain is yours.

The list of nameservers is set at the registrar, which passes it to the registry for your ending. From then on, anyone looking for your domain is sent to those servers for the answer. The same standard requires every zone "to be available on at least two servers," which is why you always see a pair or more.

Three companies can be involved. The registrar is where you renew the name and set the nameservers, the DNS host runs the nameservers and keeps the records, and the web host stores the site. They are often three different logins, and finding who hosts your website and domain sorts out which is which.

How to find a domain's nameservers

  1. 1

    Windows: nslookup

    Open Command Prompt and type nslookup -type=ns yourbusiness.com. Microsoft documents the -type option for asking for one kind of record. Each line that reads nameserver = is one of them.

  2. 2

    Mac or Linux: dig

    Open Terminal and type dig NS yourbusiness.com +short. The answer is the list and nothing else.

  3. 3

    A lookup, with the company named

    Our free Domain Lookup lists the nameservers and, when the ending matches one of the 38 DNS companies it knows, names the company on a line called DNS managed at. An ending it does not know is listed without a company name.

Two places hold the list: the registry, which has what the registrar submitted, and the DNS itself, which is what the internet uses. They should match. Domain Lookup shows what the live DNS answers and falls back to the registry's copy only when the DNS returns nothing. It shows one list, so it will not flag a mismatch. To read the registry's copy of a .com yourself, type dig NS yourbusiness.com @a.gtld-servers.net.

Changing nameservers moves every record at once

New nameservers answer from their own set of records. Nothing is copied across for you. GoDaddy's help page puts it plainly: "Changing your nameservers may break existing connections to your website or email," and after the change "the place where you manage DNS also changes." Cloudflare imports what it can find when you add a domain, and its own setup guide warns that the scan "is not guaranteed to find all existing DNS records."

The record that goes missing most often is the one for email, and the steps for switching web hosting without losing your email start from that problem. If you are only moving the website, you rarely need to touch the nameservers at all: a host move changes one address record and leaves the rest alone.

Why a nameserver change can take 48 hours

There are two waits. The first is the registrar sending the change to the registry. Cloudflare tells customers to "wait up to 24 hours while your registrar updates your nameservers." The second is caching. Every DNS answer carries a TTL, which RFC 1034 defines as "a time limit on how long an RR can be kept in a cache." The registry sets the TTL on your nameserver list, and you cannot lower it.

48 h
.com and .net (172,800 seconds)
48 h
.co.uk (172,800 seconds)
1 h
.org and .ai (3,600 seconds)
TTL on a domain's nameserver records, read from each registry's own servers on November 30, 2026

That is where "48 hours" comes from, and it is a ceiling. A network that looked up your .com a minute before the change may keep the old nameservers for up to two days. One that has never asked gets the new ones at once. GoDaddy describes the usual experience: "Most DNS changes take effect within an hour but could take up to 48 hours to update globally."

So keep the old DNS host running with the same records for two days after the switch. Whichever set a visitor reaches, the answer is the same. Google Public DNS also has a Flush Cache page that clears its stored answer for a name, and it advises flushing the main domain first when the registrar or DNS hosting has changed.

Before any of that, write down your current nameservers and who holds the login behind them. That login can redirect your website and every email you receive, so it belongs on your website ownership checklist next to the registrar account and the date the domain expires.

Look up any domain

The free Domain Lookup shows a domain's registrar, its dates, its nameservers and who hosts the site.

The Venbit Team

Web design & SEO, Mill Creek, WA

Venbit is a web design, SEO, and digital marketing studio in Mill Creek, Washington. Since 2011 we've designed, built, and ranked small-business websites for clients across the Puget Sound and around the country, so the numbers and advice here come from real projects, not a content mill.

Questions & Answers

  • Yes. They are public by design, because every network that visits your site has to ask for them. Knowing them gives nobody control. Control sits with two logins: the registrar account, where the nameservers are set, and the DNS host's account, where the records are edited.

  • No. Email follows the MX record, which is one record inside your DNS. Edit that record at your current DNS host and leave the nameservers where they are.

Keep reading

Let’s grow your business

Tell us about your business. We would love to hear from you. Or call us at (425) 314-1415.

Join the local businesses that grow with us

  • Pawn Fathers
  • Protectee
  • Pinnacle Energy Services
  • See Clearwater Beach
  • Q Blinds
  • Domaine des Florines
  • Track & Field AI
  • Edgewater Commercial Park
  • Colour Play Salon
  • Houston Hurricane & Security