43acd85b154f9999c3b710759eadba622df9d412
[openwrt-10.03/.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 expand-hosts
11 resolv-file=/tmp/resolv.conf
12
13 @ifdef dhcp_enable
14 dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
15 @endif
16 @ifdef wan_ifname
17 except-interface=@@wan_ifname@@
18 @endif
19
20 # enable dhcp (start,end,netmask,leasetime)
21 dhcp-authoritative
22 dhcp-leasefile=/tmp/dhcp.leases
23
24 # use /etc/ethers for static hosts; same format as --dhcp-host
25 # <hwaddr> <ipaddr>
26 read-ethers
27
28 # other useful options:
29 # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
30 #    dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2