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

Problem: I want to run intranet on my organization, the plate form that I use was ubuntu.

Question: How can I run my own dns server, instead of

share|improve this question

migrated from Aug 11 '09 at 11:27

This question came from our site for professional and enthusiast programmers.

nit: platform is one word. Plate form is neat. – Michael Kohne Aug 11 '09 at 12:32

Use BIND, and a proper place to ask. :)

share|improve this answer

If you are looking for something much simpler than bind, consider dnsmasq. Maintaining the DNS service is as simple as editing /etc/hosts (or another file, at your discretion) and hupping the server. If you are not doing anything fancy with DNS, just listing local hosts, this may be all you need.

share|improve this answer
+1 for dnsmasq. It can act as a DHCP server, too – dmityugov Aug 12 '09 at 10:22

Short answer: sudo apt-get install bind

Long answer:

share|improve this answer

Depending on the size of your organization's infrastructure, bind is definitely a solid base to build your DNS on. However, you will absolutely need to study up on DNS, how it works, and how to configure bind. It is not as simple as "How do I do this? Do x,y & z and you're done"

DNS really isn't that complicated. Grab an O'Reilly book or dig around on google for some how-to's and you could have it up an running with a simple setup in a matter of an hour.

share|improve this answer

Your Answer


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