2005-07-25 11:11:12 +03: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 15:59:41 +02:00
|
|
|
expand-hosts
|
2006-07-25 21:12:30 +03:00
|
|
|
resolv-file=/tmp/resolv.conf
|
2005-07-25 11:11:12 +03:00
|
|
|
|
2006-04-05 05:09:22 +03:00
|
|
|
@ifdef dhcp_enable
|
|
|
|
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
|
|
|
|
@endif
|
|
|
|
@ifdef wan_ifname
|
|
|
|
except-interface=@@wan_ifname@@
|
|
|
|
@endif
|
|
|
|
|
2005-07-25 11:11:12 +03:00
|
|
|
# enable dhcp (start,end,netmask,leasetime)
|
|
|
|
dhcp-authoritative
|
2006-01-11 06:26:46 +02:00
|
|
|
dhcp-leasefile=/tmp/dhcp.leases
|
2005-07-25 11:11:12 +03:00
|
|
|
|
|
|
|
# use /etc/ethers for static hosts; same format as --dhcp-host
|
2005-12-12 00:34:34 +02:00
|
|
|
# <hwaddr> <ipaddr>
|
2005-07-25 11:11:12 +03: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
|