recently I've purchased a VPS package which runs Ubuntu 9.04. I'm going to be using it as a general purpose server with a web server, git server, etc.

Now, the package is fairly cheap, but in exchange in there's little to no auxiliary functionality, including an absence of nameservers.

So, given that I have a domain name and full root access to the VPS, is it possible to configure a nameserver on the VPS for the VPS?

That is, I want to link my domain name to my server without the need for an additional server.

Thanks

link|improve this question
First of all you should try to upgrade the VPS to Ubuntu 10.04 which brings more recent packages and long term support in contrast to Ubuntu 9.04 which will see its end of life in October 2010 (wiki.ubuntu.com/Releases). – joschi Jun 13 '10 at 6:11
feedback

3 Answers

Yes, that is completely possible, however it is probably a good idea to run the secondary nameserver on another computer. http://afraid.org have a free DNS hosting service

link|improve this answer
Can you give me an idea of how that would be done? I've had a look around at bind tutorials however they rarely explain what they want you to copy/paste in enough detail that I understand what I need to change. – Minty Jun 12 '10 at 17:44
1  
Minty, maybe you should start by reading DNS for Rocket Scientists (zytrax.com/books/dns) – joschi Jun 13 '10 at 6:12
feedback

Bacically you register with afraid and configure your server as the master. You will need to enable afraid to do a zone transfer from your server. Then confiugre your domain DNS list to include the servers at afraid. Their documentation will help you with that.

Read the DNS documentation on using split zones so that external users can't use your cache.

link|improve this answer
feedback

Thanks for your responses. In the end it turned out my name provider had an unadvertised nameserver service, solving my problem :)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown