On Tue, 2010-05-18 at 15:04, Kyle Anderson wrote:
> I'm attempting to configure dnsmasq to pass out my dns server for dhcp over 
> the
> lan on my kamikaze. (8.09)
> 
> The Docs point me to /etc/config/dhcp and setup the "server" option. It looks
> like this is what I should be doing:
> 
> config dnsmasq
>         option server           'x.x.x.x'
>         option server           'y.y.y.y'
> 
> However, restarting dnsmasq doesn't pick this up. Here is the ps:
> 
> /usr/sbin/dnsmasq -K -D -y -Z -b -E -s lan -S /lan/ -
> 
> I was expecting to see -S x.x.x.x, etc. What am I missing? I've also tried to
> stick these servers in the "lan" section of the /etc/config/dhcp, and I've 
> also
> tried setting "dns" in /etc/config/network, none of these do the trick.

If you talking about setting DNS server for dhcp clients of the dnsmasq
at openwrt I tried using /etc/config/dhcp without success so I added 
dhcp-option to /etc/dnsmasq.conf file like this:
dhcp-option=6,10.5.1.1

DHCP clients get the DNS server with that.

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to