On Thu, 4 Feb 2021, at 15:25, Vallevand, Mark K wrote:
> I don’t want dnsmasq to do DNS.   Nor do I want it to do any kind of 
> forward or relay.  
> 
> I want to specify the address of my DNS to be returned as the giaddr in 
> the DHCP offer.
> 
> Can I do that?
> 

Yes. You can specify DHCP option 6 (DNS) as a subnet-specific option, by using 
tags.

For example:

dhcp-range=name_of_subnet,<start address>,<end address>,<netmask>,12h
dhcp-option=name_of_subnet,6,<giaddr address>


-- 
Alex

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

Reply via email to