2005-07-25 16:11:12 +08:00
|
|
|
# filter what we send upstream
|
|
|
|
domain-needed
|
|
|
|
bogus-priv
|
|
|
|
filterwin2k
|
|
|
|
localise-queries
|
|
|
|
|
|
|
|
# allow /etc/hosts and dhcp lookups via *.lan
|
|
|
|
local=/lan/
|
|
|
|
domain=lan
|
2006-01-02 21:59:41 +08:00
|
|
|
expand-hosts
|
2007-01-09 05:33:53 +08:00
|
|
|
resolv-file=/tmp/resolv.conf.auto
|
2005-07-25 16:11:12 +08:00
|
|
|
|
2006-04-05 10:09:22 +08:00
|
|
|
@ifdef dhcp_enable
|
|
|
|
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
|
2006-08-09 04:15:09 +08:00
|
|
|
dhcp-authoritative
|
|
|
|
dhcp-leasefile=/tmp/dhcp.leases
|
2006-04-05 10:09:22 +08:00
|
|
|
@endif
|
|
|
|
@ifdef wan_ifname
|
|
|
|
except-interface=@@wan_ifname@@
|
|
|
|
@endif
|
|
|
|
|
2005-07-25 16:11:12 +08:00
|
|
|
# use /etc/ethers for static hosts; same format as --dhcp-host
|
2005-12-12 06:34:34 +08:00
|
|
|
# <hwaddr> <ipaddr>
|
2005-07-25 16:11:12 +08:00
|
|
|
read-ethers
|
|
|
|
|
|
|
|
# other useful options:
|
|
|
|
# default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
|
|
|
|
# dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
|