> Am 19.10.2018 um 22:49 schrieb Michael Keuter <li...@mksolutions.info>:
> 
> 
>> Am 19.10.2018 um 22:44 schrieb David Kerr <da...@kerr.net>:
>> 
>> I'm probably just overlooking it, but is there a way for me to define the 
>> DNS servers that get pushed to clients in DHCP responses?  Say I wanted to 
>> push out 192.168.1.2 instead (or as well as) 192.168.1.1, how would I do 
>> that?
>> 
>> Thanks
>> David
> 
> Hi David,
> 
> that's easy. E.g.
> 
> dhcp-option=lan,option:dns-server,192.168.1.10
> dhcp-option=lan,option:router,192.168.1.10
> 
> Where "lan" is the 1st LAN Interface. Next would be "lan2" etc.

Update: The entries need to be made in "dnsmasq.static".
The router line is only an example if would need to route over another gateway.

Michael

http://www.mksolutions.info





_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to