update the static lease example
[openwrt/svn-archive/archive.git] / obsolete-buildroot / sources / openwrt / root / etc / dnsmasq.conf
1 # filter what we send upstream
2 domain-needed
3 bogus-priv
4 filterwin2k
5
6 # allow /etc/hosts and dhcp lookups via *.lan
7 local=/lan/
8 domain=lan
9
10 # no dhcp / dns queries from the wan
11 except-interface=vlan1
12
13 # enable dhcp (start,end,netmask,leasetime)
14 dhcp-authoritative
15 dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h
16 dhcp-leasefile=/tmp/dhcp.leases
17
18 # use /etc/ethers for static hosts; same format as --dhcp-host
19 # <hwaddr> [<hostname>] <ipaddr>
20 read-ethers
21
22 # other useful options:
23 # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
24 # dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2