[Dnsmasq-discuss] Force a MAC to use a certain DNS

Simon Kelley simon at thekelleys.org.uk
Sat Nov 26 17:27:38 GMT 2011


On 24/11/11 05:30, jack seth wrote:
> 
> Is there an option where I can force a certain MAC address to use a particular domain name server and other client use the router's default DNS?
>  

Yes, look up about tags in the dnsmasq man page. You need to set a tag
for  the client with a known MAC address, using either dhcp-host or
dhcp-mac, and then provide a dhcp-option for the domain name server
which is only used when that tag set set.


HTH


SImon.

		 	   		
> 
> 
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss




More information about the Dnsmasq-discuss mailing list