Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to setup custom nameservers. We have a domain, lets call it “” and I would like “” and “” to act as nameservers.

Here are the steps I have completed so far:

  1. Registered a VPS with a local VPS provider.
  2. Pointed at our VPS providers nameservers.
  3. Attempted to configure WHM to use and as nameservers.
  4. Created “Registry hosts” with our domain registrar that point to “” and “” using the IP addresses of our VPS.

Neither of the above options work. I am a bit lost on how to proceed. I’m not sure what to query for on each domain to test for success.

Is this setup correct?

share|improve this question
OK, everyone stop referring to things as "custom". There's no such thing as a "custom" name server, or a "custom" domain or a "custom" email address. There are name servers, domains and email addresses. There's nothing "custom" about them. – joeqwerty Apr 21 '13 at 14:43

You will need an additional IP to configure the second nameserver in WHM. You can point and to your main IP, but you need a second IP that you can point to. Add this IP to your WHM and then assign it to the second nameserver.

share|improve this answer
  1. You need two name servers, meaning two VPS
  2. The test to see if they are properly configured is dig @ip-address SOA, you must get an authoritative response (flag aa in dig's output).
  3. Then (and only then), you can move to the next step, tell your registrar to use these servers for
share|improve this answer
+1, thanks for the help. Should I be getting the same results from dig using @ip-address and just using other nameservers. Is this a sign of successful propagation? I get the records when using the IP but not without using it. – Sam152 Apr 22 '13 at 0:10
The test in 2) only checks that your name servers are OK, not that they will be queried by the world resolvers (this is step 3) – bortzmeyer Apr 22 '13 at 9:08

You have a few options.

You can set both ns1 & ns2 to the same IP. This WILL work (as you are required to have 2 name servers for the domain to be "Active") but not recommended. This would work the same as getting a second IP for your existing server.

You can get a public secondary name server. Most companies ISP's or hosting companies do this for a small charge (or free).

Or get another VPS and host yourself another NS

edit: chuck your domain name in here: Very handy to see what it says.

share|improve this answer
do a dns whois and make sure the domain is active, they may have different rules. sorry skimmed that part. Would recommend using a small secondary through an ISP or the VPS company. – Dan Apr 23 '13 at 1:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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