I have bought a domain name and I want to held the dns server by myself.
I want to know how to register a nameserver record.
Thanks all.
Sing
[edited by: Webwork at 9:31 am (utc) on Feb. 3, 2006]
[edit reason] Charter [webmasterworld.com] [/edit]
If I understand your question correctly you would simply use your domain registrar's interface to register a domain name server.
Typically, there is a plain text link for updating domain name servers that you will find when you login to manage your domain. Just scan the user interface.
The standard link will mention DNS or Domain Servers etc. You typically enter the DNS name: ns1. Example.com and sometimes have to add an IP address.
Further specific inquiries about how to register/associate a DNS with your domain should be made directly to your domain registrar using their help form or help system. Often there's a FAQ section that will explain DNS.
Hope this helps.
A complicating factor is that nameserver registration is not very well-understood by webmasters.
Name server REGISTRATION is not the same thing as listing your name servers. An IP address is ALWAYS required for name server registration.
Normally, you are using nameservers run by somebody else. It might be your web hosting company, your registrar, or some third-party. In any case, when you list their nameservers as the nameservers for your domain, you are not REGISTERING nameservers. They've already done that.
If you run your own nameservers, or if you want to have "vanity" nameservers (you are using somebody else's nameservers, but you want them to APPEAR to be your own) then you have to "register" them.
You don't necessarily register them in the same domain you are using them in. You register them in the domain to which they belong.
Let's say you have example.com, example2.com and mycompany.tld. You want to run your own namesevers. You've decided to call your nameservers ns1.mycompany.tld and ns2.mycompany.tld. You can use these nameservers for all three domains. Or, you might choose to set up "vanity nameservers", so that each domain appears to have it's own nameservers.
The first step is to register ns1.mycompany.tld and ns2.mycompany.tld. You do this at the registrar for mycompany.tld.
You may find a seperate option to register a nameserver. If not (as with NetSol) you just enter them as your nameservers, and then an additional field will appear, asking you for the IP address.
(Note that there is an obscure problem with this: what if wanted to register ns1.mycompany.tld and ns2.mycompany.tld, but did NOT want to use them as nameservers for mycompany.tld? At Netsol, this is impossible! At other registrars, it is possible.)
Now that you have registered your name servers, you need to add A records for ns1 and ns2 to the DNS server for mycompany.tld. (Actually you can and in some cases perhaps must do this before registering the nameservers.)
If you will be using these nameservers for mycompany.tld, you will also need to add NS records, and also make sure that your SOA record lists your primary nameserver as the origin for your domain.
For example.com and example2.com, you skip the "registration" step. You need NS records and an SOA listing the primary nameserver as origin, and you need to go to the registrar and list the nameservers. You will NOT be asked for an IP address. If you are, you've done something wrong.
Note that there are some cases where you may want to register more than one set of names for the same nameservers. If the nameservers for a domain are registered in a different registry (not registrar) than your domain, then there will be no "glue" records in the DNS responses. It will take longer to resolve your domain, because an extra lookup must be done.
The most common case of this is when you have .com/.net and .org or .us. .com and .net share the same registry. .org and .us are seperate registries. (Note that .us and .biz share a registry.)
In this case, you might want to create "vanity name servers" on one of your .org and .us domains. Then for your .org domains, you use the .org nameservers. On your .us and .biz domains, you use the .us nameservers. On your .com and .net domains, you use your .com (or .net) nameservers.
Hope this clarifies it.
But... why do you want to run your own DNS servers? Do you have two reliable servers in different geographical areas? Most people are almost always better served by simply going with the nameservers provided by their registrar. I prefer third-party, but the registrar's servers are usually a better idea than running your own.
(There are some special cases, such as running a specialized nameserver, such as the ones used for anti-spam purposes.)