I would like to use only dnsmasq to forward all dns requests to google's dns server and disable dhcp...

How can I achieve this result?

link|improve this question

feedback

2 Answers

Just comment out the dhcp-related lines in your dnsmasq.conf file and then restart dnsmasq.

link|improve this answer
feedback

dnsmasq has dhcp server disabled by default. To enable it you have to uncomment dhcp-related lines in /etc/dnsmasq.conf

to forward all requests to 208.67.222.222 it's sufficient to add (without touching dnsmasq config) in /etc/resolv.conf:

nameserver 208.67.222.222

That's it :)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.