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 have DNSMasq providing DNS and DHCP on 192.168.1.3. Gateway is 192.168.1.1. I turned off DHCP on 1.1.

Any clients on the net can't resolve outside hosts...

Clients can't resolve outside addresses properly.

If I add "dhcp-option=6,192.168.3.1" OR "dhcp-option=6,205.x.x.x" to force outside lookups, outside lookups work, but then inside lookups don't work!

Help!

share|improve this question

1 Answer 1

DNSMasq gets its upstream servers from /etc/resolv.conf by default - you want to check that file whether these are correct. It should NOT point to localhost.

If you really want that DNS queries on the server go through DNSMasq, then read the manpage on how to use the --resolv-file option to give it the upstream server addresses.

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.