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 am curious after I read in this post that the vps's hostname can be arbitrary named and does not need to be based on a real registered domain Some questions regarding Hostname.

Is it possible also to have a nameserver name that does not contain a real registered domain? For example, using and a real IP address as a nameserver to be used at gdaddy.

If that can be done, is the second step then is as easy as to set up a zone file for using "Add a DNS zone" in WHM/cpanel?

share|improve this question

Domain Name System (DNS) is used to denote the location of a computer or resource on the Internet and, as such, requires a fully qualified domain name (FQDN).

To resolve properly, you can "register" name servers with the registrar for a domain name that you own.

For example, you could tell your registrar "I want to point to the IP" and then set the A records for your domain name to match those custom nameservers.

It's a two step process:

  1. Register name servers (ns1, ns2, ns3, etc.) that point to the appropriate IP
  2. Create A records for those nameservers that point to the appropriate IP
share|improve this answer
Thanks Trent, I understand your point 99%, what I am trying to get at is whether I can register a custom "" at the registrar as a nameserver and have it points to an appropriate IP. I am guessing that the answer is yes, but I am not sure. – jamex Apr 9 '12 at 19:51
No, it needs to be a valid domain name for that. – Trent Scott Apr 10 '12 at 2:16
up vote 0 down vote accepted

Since people voted this down without offering any concrete explanation, I am going to answer it according to my understanding of the system. I hope another noob finds it useful. It is long, but it also helps me understand the convention.

Let's say you registered the domain, the "com" is the top level domain, the "abc123" part is the second level domain.

When a web user wants to visit, he types in into his web browser. The browser then contact the DNS resolver (such as google DNS, level3, or opendns -- which is acting as a cache) to query if the DNS resolver has the IP address for previously saved. If some one had tried to reach previously through this resolver, the resolver should have the IP address for the domain name and return the IP to the browser. But if no has ever queried the DNS resolver for, the resolver does not have the IP cached. The resolver then need to contact the root DNS server for that information.

The root DNS server gets its info from the domain registrars. When you register the domain, is recorded by the root DNS server; along with the nameservers/IP (optional).

The guess is that the "" must exist in the root DNS server for it be able to logically say that to be valid. If does not exist in the record, then must not be valid.

Aside from the DNS principle, it is not possible for you to set nameserver names that contains a non registered domain because your registrar won't allow it. If you own and you log into your registrar to register nameserver names, the top (".com") and second ("abc123") level domains are locked and can't be changed. You can only enter values for the sub level domain. So what you could end up with is as your nameserver name; is fixed. So it is not possible to create a public nameserver name that contains an unregistered second-level domain name.

share|improve this answer

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.