Dnsmasq: Redirect entire domain to localhost only for specific MAC Addresses


I'd like to redirect example.com to the local host, but only for specific MAC addresses.
Obviously, specifying


in dnsmasq.conf does this for everyone. Is there any way that say MAC1 will be redirected to localhost, while MAC2 will get the correct IP address of example.com?

Best Answer

Short answer: no. Dnsmasq does not have that kind of functionality. The --address setting applies globally.

Related Topic