From: Michael K. <li...@mk...> - 2018-10-19 20:54:15
|
> Am 19.10.2018 um 22:49 schrieb Michael Keuter <li...@mk...>: > > >> Am 19.10.2018 um 22:44 schrieb David Kerr <da...@ke...>: >> >> 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 |