source: freewrt/package/dnsmasq/files/dnsmasq.conf@ e87ee18

freewrt_1_0 freewrt_2_0
Last change on this file since e87ee18 was 2e260e5, checked in by Dirk Nehring <dnehring@…>, 19 years ago

sync dnsmasq with trunk

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@982 afb5a338-a214-0410-bd46-81f09a774fd1

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