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