It is not recommended to answer recursive DNS queries from outside the local network.

Is there a way to make dnsmasq answer queries about specified domains (part locally part forward to another DNS server) from anywhere, but answer all queries if the request comes from local networks?


I ended up running two instances of dnsmasq and doing the filtering in iptables.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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