summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/dnsmasq/dnsmasq.conf
blob: 96e338e06fddee9288f3d02f0f77a37387df262d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#logging
log-async=5
log-facility=DAEMON
log-queries

# filter what we send upstream
domain-needed
bogus-priv
filterwin2k
localise-queries

# allow /etc/hosts and dhcp lookups via *.lan
local=/lan/
domain=lan
expand-hosts

# enable dhcp (start,end,netmask,leasetime)
dhcp-authoritative
dhcp-range=192.168.1.101,192.168.1.250,255.255.255.0,12h
dhcp-leasefile=/tmp/dhcp.leases

# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
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

dhcp-option=3,192.168.1.1
dhcp-option=6,192.168.1.1

enable-tftp
tftp-root=/data/srv/tftp/
conf-file=/etc/dnsmasq.mvpmc.conf

dhcp-boot=pxelinux.0