Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Im having a Ubuntu 11.10 Desktop system,how can I configure the BIND server to resolve as the following:

I should be able to use Google's Public DNS for the internet

www.rootserver.com should resolve to my computer

www.wifi.device should resolve to 192.168.1.7

share|improve this question
up vote 2 down vote accepted

Take a look at dnsmasq instead, is pretty far more easy to configure than bind: you just need to install it, and it will use DNS defined in /etc/resolv.conf as upstream server, and in /etc/hosts you can define the 2 records you need.

Remember to reload it on every change.

share|improve this answer

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.