Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 a newly installed ubuntu 12.04 server. And I have also installed webmin+virtualmin. I am wondering how to manage nameservers (e.g and for my domain to point server.

P.S I have searched a lot, couldn't find anything useful.

share|improve this question
up vote 0 down vote accepted

You're looking for dns glue record

Many domain registrars such as, support glue records.

Using them, you can setup the and to point to the whatever IP address you like that will be serving as your name server.

Further, I would recommend to use bind (named) as your DNS server.

I hope this helps!

share|improve this answer

Your question is unclear.

Are you wanting to

  • Set up the nameservers on your new 12.04 (let's call it monkey) server so monkey can resolve addresses by using a specific nameserver (like Google's DNS).


  • Point your domain (e.g. to your new server so you can access it by browsing to

In the case of the former, you will need to edit /etc/resolv.conf and add the nameservers IPs to the file. If you wanted to add Google's DNS to your list of DNS servers, you'd add and to that file.

If you're trying to point your domain ( at your new server, you will need to refer to your domain registrar's documentation. Who did you register the domain with? Joker/GoDaddy/etc?

share|improve this answer
Thank you for you answer. I want to have nameservers such as, and on GoDaddy fill domain dns information with those. – quşman Jul 26 '12 at 7:01
Why do you need servers like in the first place? Are you a domain reseller? Also, who do you host your VPS with? – poolski Jul 26 '12 at 10:26

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.