NS Record vs. Nameservers (understand this very important difference)
Tutorial Hosting
Ns stands for name server and is just one of many resource record types in the domain name system the primary purpose of an ns record is to associate a domain name with a name server and i’ll explain exactly what that means as well as give you plenty of examples but first you
Need to understand what a name server actually is simply put a name server is a physical server that stores the individual dns records for one or more domain names every name server has its own domain name that is usually a subdomain starting with ns and that is
The purpose of an ns record specifically to associate a domain name with its name server ns records look similar to other dns records and have a name time to live and value one of the major requirements of ns records is that there should be at least two name servers for each domain
And each name server should resolve to a unique ip address the reason for the redundancy is in case one name server goes offline dns queries can go to another one without multiple name servers in this case websites won’t load during normal operation the primary name server will respond to dns queries for
Lookups like a records which map domain names to ip addresses and cname records which map domain names to other domain names you can use the nslookup command to find the primary name server for a domain by typing nslookup set type equals soa the domain name and this right here is the
Primary name server alternatively you can use the dig command like this to list all the ns records for a particular domain name another option is to use an online tool like dnschecker.org to do the nslookup right from within a web browser most times when you purchase a domain
Name from your web hosting provider your ns records are automatically set up for you like they are here for me in my dream host account a time when you have to change your ns records is when you buy a domain name from somewhere else that’s not your web hosting provider in
This situation you have a choice you can either give google domains the name servers of dreamhost and manage your dns records there or give dreamhost the name servers of google domains and manage your dns records there you actually also have another option to use a third-party dns network provider like cloudflare to
Manage your dns records in this case you’d simply provide the name servers of cloudflare to both your web hosting provider and your domain registrar this video was a basic overview of ns records and name servers and if it provided some value to you then subscribe to this
Channel and check out this playlist next to learn more about the most common dns record types You
Learn what a name server is and how this DNS concept relates to NS records in the context of domain names and web hosting. For more information, visit https://tonyteaches.tech. Check out my vlog channel @TonyFlorida #dns #nameserver
#Record #Nameservers #understand #important #difference
https://i.ytimg.com/vi/WyDQhlRDad8/hqdefault.jpg