Please I like to know why I can't use my one IP on my nameserver like:

ns1.mydomain.com =
ns2.mydomain.com = (but the IP could be assigned here)
  • 3
    ns1 and ns2 is for primary and secondary purposes, though you can assign single IP for both, it is recommended to provide different. – sundeep May 29 '13 at 9:38

The questioner is asking to know why he can't use one IP address for two nameservers, but in fact he can use the same IP for both. This is often done for servers with only one IP address available to it.

Having a second IP address on the same server is of little benefit, since if that server goes down, both IP addresses will be unreachable. The only benefit is if the second IP is on another Ethernet connection and separate network...

As others point out, it's always recommended to use more than one server as a nameserver (not just IP address), in two or more different locations (e.g., continents) so that there isn't a single point of failure.


To keep your website up and running you should have multiple name servers. You are required to provide two, but three or four are recommended. Putting in the same IP address for both means that if that server goes down, your website goes down as well. For best results, the name servers you use should be distributed around the globe and run by a reputable DNS host.

DNS hosting is so cheap, there is no reason not to do it correctly. Expect to pay no more than $5/year for standard zone records for a single domain. There are even many free options.

  • Your domain name registrar may offer DNS hosting for free along with your domain name registration. For example GoDaddy
  • Your web host may offer free DNS services along with your web site hosting. For example DreamHost
  • Some companies offer DNS hosting for free (but require donations for commercial use). For example XName.org
  • Some companies offer cheap but reliable DNS hosting but have a free tier for single sites or simple use cases. For example Zonomi or Amazon Route 53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.