<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br><br></div>I have been doing a fair bit of googleing but have not found a solid answer to my query so hope the discussion list can assist.<br><br></div>Is it possible to have dnsmasq return an alternate IP for a given entry that is being queried, as is possible via the /etc/hosts, but also specifying the requesting IP.<br><br></div>e.g. <br><br>Requesting IP / HOST / result IP<br><br>192.168.1.1 -> <a href="http://test.com">test.com</a> -> 127.0.0.1<br></div>192.168.1.2 -> <a href="http://test.com">test.com</a> -> 10.0.0.1<br><br></div>It would be extremely useful to be able to spoof the DNS for certain machines on my network but not others, I know I could use alternate DNS servers for some machines on the network but this option would make it far easier.<br><br></div>If I have missed something in the docs please feel free to have a go at me.<br><br></div>Regards<br><br></div>Tim<br><br><div><div><div><div><div><br> <br></div></div></div></div></div></div>