Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
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.