set dnsmasq except-interface in init script to wan_ifname instead of vlan1
[openwrt.git] / package / dnsmasq / files / dnsmasq.conf
1 # filter what we send upstream
2 domain-needed
3 bogus-priv
4 filterwin2k
5 localise-queries
6
7 # allow /etc/hosts and dhcp lookups via *.lan
8 local=/lan/
9 domain=lan
10
11 # enable dhcp (start,end,netmask,leasetime)
12 dhcp-authoritative
13 #dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
14 #dhcp-leasefile=/tmp/dhcp.leases
15
16 # use /etc/ethers for static hosts; same format as --dhcp-host
17 # <hwaddr> [<hostname>] <ipaddr>
18 read-ethers
19
20 # other useful options:
21 # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
22 #    dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2