Forum Moderators: phranque
2) I don't think you really need to "register" a name server, just start running one. There are programs such as BIND for *nix machines and DNS for Windows servers that will associate names with IP addresses.
3) IPs are assigned to names by manipulating the "zone" files on a name server. There are generally three types of zone records. A records are the primary internet records. To have www.example.com associate with an IP address of 127.0.0.1 you would set the A record of example.com to point to that IP.
MX records are for mail servers. You can point the same domain name to an A and an MX record so people can receive mail from their example.com address.
CNAME records are used to create subdomains and routings, and are very easy to mess up. Verio, a leading name server provider, recommends that you never mess with the CNAME records, and I have never had the need to do so.
4) The reason they recommend two is for backup purposes and ease of routing the traffic.
The primary name server, which stores the information, sends out that information to thousands of others, which cache that information, making finding a domain by name quick. If one was down the other would pick it up and the internet would keep running. Two also help to share the load.
Hope that helps answer some of the questions. It's a good topic to learn about.
We have set two IP addresses xx.xx.****.x8 and xx.xx.xxx.x9 but thier name servers are not registered with registrar. Do you think I can just point my domain name to xx.xx.xxx.x8 and xx.xx.xxx.x9 through domain CP without asking my registrar to create name servers? Is it that simple?