freewrt_1_0
freewrt_2_0
| Line | |
|---|
| 1 | # filter what we send upstream
|
|---|
| 2 | user=dnsmasq
|
|---|
| 3 | domain-needed
|
|---|
| 4 | bogus-priv
|
|---|
| 5 | filterwin2k
|
|---|
| 6 | localise-queries
|
|---|
| 7 |
|
|---|
| 8 | # allow /etc/hosts and dhcp lookups via *.lan
|
|---|
| 9 | local=/lan/
|
|---|
| 10 | domain=lan
|
|---|
| 11 | expand-hosts
|
|---|
| 12 |
|
|---|
| 13 | # add more dhcp-range options for every subnet
|
|---|
| 14 | dhcp-range=192.168.1.100,192.168.1.254,255.255.255.0,24h
|
|---|
| 15 | except-interface=vlan1
|
|---|
| 16 |
|
|---|
| 17 | dhcp-authoritative
|
|---|
| 18 | dhcp-leasefile=/tmp/dhcp.leases
|
|---|
| 19 |
|
|---|
| 20 | # use /etc/ethers for static hosts
|
|---|
| 21 | # <hwaddr> <ipaddr>
|
|---|
| 22 | #read-ethers
|
|---|
| 23 |
|
|---|
| 24 | # other useful options:
|
|---|
| 25 | # default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
|
|---|
| 26 | # dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.