67
67
# You can control how dnsmasq talks to a server: this forces
68
68
# queries to 10.1.2.3 to be routed via eth1
69
# --server=10.1.2.3@eth1
69
# server=10.1.2.3@eth1
71
71
# and this sets the source (ie local) address used to talk to
72
72
# 10.1.2.3 to 192.168.1.1 port 55 (there must be a interface with that
73
73
# IP on the machine, obviously).
74
# --server=10.1.2.3@192.168.1.1#55
74
# server=10.1.2.3@192.168.1.1#55
76
76
# If you want dnsmasq to change uid and gid to something other
77
77
# than the default, edit the following lines.
141
141
# don't need to worry about this.
142
142
#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
144
# This is an example of a DHCP range with a network-id, so that
144
# This is an example of a DHCP range which sets a tag, so that
145
145
# some DHCP options may be set only for this network.
146
#dhcp-range=red,192.168.0.50,192.168.0.150
146
#dhcp-range=set:red,192.168.0.50,192.168.0.150
148
# Use this DHCP range only when the tag "green" is set.
149
#dhcp-range=tag:green,192.168.0.50,192.168.0.150,12h
151
# Specify a subnet which can't be used for dynamic address allocation,
152
# is available for hosts with matching --dhcp-host lines. Note that
153
# dhcp-host declarations will be ignored unless there is a dhcp-range
154
# of some type for the subnet in question.
155
# In this case the netmask is implied (it comes from the network
156
# configuration on the machine running dnsmasq) it is possible to give
157
# an explict netmask instead.
158
#dhcp-range=192.168.0.0,static
148
160
# Supply parameters for specified hosts using DHCP. There are lots
149
161
# of valid alternatives, so we will give examples of each. Note that
150
162
# IP addresses DO NOT have to be in the range given above, they just
201
213
# Send extra options which are tagged as "red" to
202
214
# the machine with ethernet address 11:22:33:44:55:66
203
#dhcp-host=11:22:33:44:55:66,net:red
215
#dhcp-host=11:22:33:44:55:66,set:red
205
217
# Send extra options which are tagged as "red" to
206
218
# any machine with ethernet address starting 11:22:33:
207
#dhcp-host=11:22:33:*:*:*,net:red
219
#dhcp-host=11:22:33:*:*:*,set:red
209
221
# Ignore any clients which are specified in dhcp-host lines
210
222
# or /etc/ethers. Equivalent to ISC "deny unkown-clients".
211
223
# This relies on the special "known" tag which is set when
212
224
# a host is matched.
225
#dhcp-ignore=tag:!known
215
227
# Send extra options which are tagged as "red" to any machine whose
216
228
# DHCP vendorclass string includes the substring "Linux"
217
#dhcp-vendorclass=red,Linux
229
#dhcp-vendorclass=set:red,Linux
219
231
# Send extra options which are tagged as "red" to any machine one
220
232
# of whose DHCP userclass strings includes the substring "accounts"
221
#dhcp-userclass=red,accounts
233
#dhcp-userclass=set:red,accounts
223
235
# Send extra options which are tagged as "red" to any machine whose
224
236
# MAC address matches the pattern.
225
#dhcp-mac=red,00:60:8C:*:*:*
237
#dhcp-mac=set:red,00:60:8C:*:*:*
227
239
# If this line is uncommented, dnsmasq will read /etc/ethers and act
228
240
# on the ethernet-address/IP pairs found there just as if they had
277
289
# Specify an option which will only be sent to the "red" network
278
290
# (see dhcp-range for the declaration of the "red" network)
279
# Note that the net: part must precede the option: part.
280
#dhcp-option = net:red, option:ntp-server, 192.168.1.1
291
# Note that the tag: part must precede the option: part.
292
#dhcp-option = tag:red, option:ntp-server, 192.168.1.1
282
294
# The following DHCP options set up dnsmasq in the same way as is specified
283
295
# for the ISC dhcpcd in
338
350
# Boot for Etherboot gPXE. The idea is to send two different
339
351
# filenames, the first loads gPXE, and the second tells gPXE what to
340
352
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
341
#dhcp-match=gpxe,175 # gPXE sends a 175 option.
342
#dhcp-boot=net:#gpxe,undionly.kpxe
353
#dhcp-match=set:gpxe,175 # gPXE sends a 175 option.
354
#dhcp-boot=tag:!gpxe,undionly.kpxe
343
355
#dhcp-boot=mybootimage
345
357
# Encapsulated options for Etherboot gPXE. All the options are
490
502
# set for this to work.)
492
504
# A SRV record sending LDAP for the example.com domain to
493
# ldapserver.example.com port 289
505
# ldapserver.example.com port 389
494
506
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389
496
508
# A SRV record sending LDAP for the example.com domain to
497
# ldapserver.example.com port 289 (using domain=)
509
# ldapserver.example.com port 389 (using domain=)
498
510
#domain=example.com
499
511
#srv-host=_ldap._tcp,ldapserver.example.com,389