blob: 9199da7430f4db091698baf694008ab29ee597ef (
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
39
40
41
42
43
44
|
# filter what we send upstream
user=dnsmasq
domain-needed
bogus-priv
localise-queries
# allow /etc/hosts and dhcp lookups via *.lan
local=/lan/
domain=lan
expand-hosts
# add more dhcp-range options for every subnet
dhcp-range=192.168.1.129,192.168.1.254,255.255.255.0,72h
interface=lo
interface=eth0
# Enable dnsmasq's built-in TFTP server
#enable-tftp
# Set the root directory for files available via TFTP.
#tftp-root=/tftpboot
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
# use /etc/ethers for static hosts
# <hwaddr> <ipaddr>
#read-ethers
# other useful options (0.0.0.0 means server itself)
# default route(s):
dhcp-option=3,0.0.0.0
# DNS server(s):
dhcp-option=6,0.0.0.0
# NTP server(s):
dhcp-option=42,0.0.0.0
# WINS server(s):
#dhcp-option=44,0.0.0.0
# nfsroot example for a host
#dhcp-host=00:0c:42:0a:7d:d3,10.0.0.4,net:rb532
#dhcp-option=rb532,option:root-path,/nfsroot/rb532,nfsvers=3
# pxeboot example
dhcp-boot=pxelinux.0
|