let ipkg fail when a package file to be installed is not found
[openwrt/staging/wigyori.git] / openwrt / 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 expand-hosts
11
12 @ifdef dhcp_enable
13 dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
14 @endif
15 @ifdef wan_ifname
16 except-interface=@@wan_ifname@@
17 @endif
18
19 # enable dhcp (start,end,netmask,leasetime)
20 dhcp-authoritative
21 dhcp-leasefile=/tmp/dhcp.leases
22
23 # use /etc/ethers for static hosts; same format as --dhcp-host
24 # <hwaddr> <ipaddr>
25 read-ethers
26
27 # other useful options:
28 # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
29 # dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2