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