Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to setup a DNS server in the intranet so people won't have to add records into their hosts file repeatedly like:

xx.xx.xx.xx server1

xx.xx.xx.xx server2

note that server1 and server2 are not conventional domain names, they are just simple one word host names.

My OS is ubuntu, I tried bind only found it hard to configure. What's the simplest solution out there for this kind of scenario?

Thanks.

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted
  1. Install a DNS Server, dnsmasq for example.
  2. Add entries to the host file of that server.
  3. Start the dnsmasq daemon
  4. Tell the people to use this server as DNS server in their network configuration.

that should be it.

dnsmasq also includes a dhcp service, but you don't have to activate it. reference

share|improve this answer
add comment

Your Answer

 
discard

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.