The NS, or Name Server records of a domain, indicate which servers deal with the Domain Name System (DNS) records for it. Setting the name servers of a specific hosting provider for your domain name is the simplest way to forward it to their system and all its sub-records will be managed on their end. This includes A (the IP address of the server/website), MX (mail server), TXT (free text), SRV (services), CNAME (forwarding), and so on, so if you want to edit any one of these records, you will be able to do it through their system. In other words, the NS records of a domain reveal the DNS servers which are authoritative for it, so when you attempt to open a web address, the DNS servers are contacted to get the DNS records of the domain you are trying to reach. That way the site you will see will be retrieved from the correct location. The name servers normally have a prefix “ns” or “dns” and every single domain has at least two NS records. There is absolutely no practical difference between the two prefixes, so which one a website hosting provider is going to use depends exclusively on their preference.
