<div dir="ltr"><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.666666984558105px">Hi, <div><br></div><div>please forgive the possibly newbie question, but I could not find an answer to this reading the man page, or in various places online. </div>
<div><br></div><div>I have a dnsmasq server which correctly forwards DNS requests to different servers according to the domain requested. This is great and thank you for the good work with dnsmasq.</div><div><br></div><div>
I now want to discriminate which DNS server the request is sent to depending on the IP address the request originated from. i.e. if the request for <a href="http://google.com/" target="_blank">google.com</a> (or any domain for that matter) came from a machine on my internal network with IP 192.168.1.10 i want to forward to 8.8.8.8, if the request instead came from IP 192.168.1.20 I want it to be sent to my ISP's DNS server. </div>
<div><br></div><div>I *think* I could accomplish something similar configuring the DHCP server to provide different DNSs to different hosts on their DHCP request, but some of the hosts are not DHCP clients. </div><div><br>
</div><div>Any help appreciated. </div><div><br></div><div>Best, </div><div><br></div><div>S</div></div></div>