Bummer! This is just a preview. You need to be signed in with a Treehouse account to view the entire video.
Name Servers1:57 with Jason Seifer
DNS name servers hold the information about a given domain. Name servers also provide answers to your DNS queries.
- There are two kinds of DNS Name Servers: master and slave.
- The master name server stores original copies of records.
- Slave name servers get copies of the data and share load as well as improve availability.
- Name servers answer questions to your DNS queries.
Now we're going to talk about name servers.
When we're talking about DNS resolution
name servers are the first hop after the root servers,
which we'll be talking about in the next video.
When you request information about a certain .com
you're getting that information from something called the authoritative name server.
The name server provides answers to all of your DNS queries
such as what subdomains and domains match up to different IP addresses.
There are 2 different kinds of name servers:
Master and Slave.
The master name server stores the original copies of records.
The slave name server gets copies of the records
and is used to share the load and improve availability.
As you can see here we're doing a quick look up of the name servers of a domain.
We're using the host command and checking it out
ns after -t tells the host command that we want to know the name servers.
And then you can see the different name server output.
You'll notice that there are 4 different name servers.
What that means is that 4 different possible name servers
will return the information when we're looking it up for teamtreehouse.com.
These name servers are located in different parts of the world.
When the request is fired out to find out what part of www.teamtreehouse.com
the IP corresponds to, your computer gets back the very first result.
And it does that by finding it from the quickest server to respond.
You can also use the who is command to look up name servers
as well as information about a domain
such as the registrant or owner of the domain.
Different name servers are also very useful for load balancing
with slaves and caching the information that they return.
You need to sign up for Treehouse in order to download course files.Sign up