A name server is a computer server that implements a name service protocol. It will normally map a computer-usable identifier of a host to a human-usable identifier for that host. For example, a Domain Name System (DNS) server might translate the domain name domaininform.net to the Internet Protocol (IP) address 18.104.22.168.
DNS is the protocol implemented by Internet name servers. Name servers also exist on some Microsoft Windows networks where one host can take the role of NetBIOS Master Browser and act as a NBNS server. In small local networks of Windows systems there is no central name server, and name resolution is performed using broadcasts. In other words A domain name server is what make the I.P. address of your website a domain name.
When you host your website on a commercial or free web host, you usually get a static IP address for your website - that is, an IP address that doesn't change. (IP addresses are like street addresses on the Internet.) Although webhosts typically provide the name servers for your domain name hosted on their servers, you may sometimes want to outsource your DNS so that you can freely manage your own domain names (such as when you want the freedom to create new subdomain names that reside on different web hosts). Some people outsource their DNS because they have numerous servers in diverse locations answering to the same domain name (for load balancing) - they have more sophisticated DNS needs than the typical site (in this case, they may want something known as round robin DNS). Still others simply don't want to put all their eggs in one basket.
Dynamic IP addresses usually occur when a website is hosted on someone's personal computer, and that computer is only connected to the Internet when the owner connects to his/her ISP. The ISP gives that computer an IP address that is different everytime it connects. If this is your situation, you will need a dynamic DNS service that will update their nameservers with your new IP address each time you log on.
Another use for free DNS services like those listed below is when you register a domain name of your own in order to reserve it for future use, but don't have a website to point it to (yet). Some of the free DNS services allow you to park your domain.
One of several domain name system (DNS) servers on the Internet that contain the IP addresses of the top level domain (TLD) registry organizations that maintain the global domains (.com, .net, .gov, etc.) and country code domains (.uk, .ca, .fr, etc.). The first point of entry for resolving a domain name, there are currently 34 root servers throughout the world operated by government agencies and private organizations, all of which contain the same data. The original 13 root servers (named A through M), came under a denial of service (DoS) attack in late 2002, and some of them were temporarily knocked out of service. Subsequently, additional servers were deployed.
ISPs and other institutional organizations routinely download copies of the root server tables so that name resolution can be performed locally. There are thousands of these "resolver" computers throughout the Internet that keep the main root servers from becoming overloaded.
If you decide to transfer a domain name you will need to change the domain name server (DNS). Let’s say you have hosting, & then transfer a domain name to your hosting account. If you would like to use the domain, then you will need to change the domain name server to that of your hosting in order for you to use your domain name.
When domain inform first decided to go online it was under domaininform.net later on I found that somebody was selling domaininform.com. I then bought the domain name and decided to transfer the domain to my hosting account. I then wanted to setup a 301 redirect so that if they decided to type in domaininform.net or domaininform.com they would then be redirected to my website. I transferred the domain to my hosting account and started the redirect to domaininform.net, but it was still not working. What you need to understand is that before you can do anything with your domain name you must assign the proper DNS address in order for you to use your domain name. Once changed the redirect will work. So if you decide to register a domain name you need to check your DNS server to make sure that you can use your domain.
You can change the DNS server to any address you like. Thus giving complete control over your domain name. If you want to change your webhosting form one company to another all you have to do is change your DSN address.
Never give your login information of your registrar to anybody. Your domain name is infact the ownership of your website. If your webmaster or anybody that you grant access to your website asks you for this, simply ask what do you need me to change my DSN address to. This way you keep complete control and nobody can steal your domain name.