<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
		<id>https://wiki.nuvem.art.br/index.php?action=history&amp;feed=atom&amp;title=Raspi_ad-hoc_dnsmasqconf</id>
		<title>Raspi ad-hoc dnsmasqconf - Histórico de revisão</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.nuvem.art.br/index.php?action=history&amp;feed=atom&amp;title=Raspi_ad-hoc_dnsmasqconf"/>
		<link rel="alternate" type="text/html" href="https://wiki.nuvem.art.br/index.php?title=Raspi_ad-hoc_dnsmasqconf&amp;action=history"/>
		<updated>2026-04-14T14:15:38Z</updated>
		<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://wiki.nuvem.art.br/index.php?title=Raspi_ad-hoc_dnsmasqconf&amp;diff=10116&amp;oldid=prev</id>
		<title>Ál: uma edição: Interactivos 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.nuvem.art.br/index.php?title=Raspi_ad-hoc_dnsmasqconf&amp;diff=10116&amp;oldid=prev"/>
				<updated>2013-09-08T00:49:40Z</updated>
		
		<summary type="html">&lt;p&gt;uma edição: Interactivos 2012&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='pt-BR'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Edição das 00h49min de 8 de setembro de 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='pt-BR'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sem diferença)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ál</name></author>	</entry>

	<entry>
		<id>https://wiki.nuvem.art.br/index.php?title=Raspi_ad-hoc_dnsmasqconf&amp;diff=10115&amp;oldid=prev</id>
		<title>Bruno em 16h21min de 8 de novembro de 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.nuvem.art.br/index.php?title=Raspi_ad-hoc_dnsmasqconf&amp;diff=10115&amp;oldid=prev"/>
				<updated>2012-11-08T16:21:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
# Configuration file for dnsmasq.&lt;br /&gt;
#&lt;br /&gt;
# Format is one option per line, legal options are the same&lt;br /&gt;
# as the long options legal on the command line. See&lt;br /&gt;
# &amp;quot;/usr/sbin/dnsmasq --help&amp;quot; or &amp;quot;man 8 dnsmasq&amp;quot; for details.&lt;br /&gt;
&lt;br /&gt;
# Listen on this specific port instead of the standard DNS port&lt;br /&gt;
# (53). Setting this to zero completely disables DNS function,&lt;br /&gt;
# leaving only DHCP and/or TFTP.&lt;br /&gt;
#port=5353&lt;br /&gt;
&lt;br /&gt;
# The following two options make you a better netizen, since they&lt;br /&gt;
# tell dnsmasq to filter out queries which the public DNS cannot&lt;br /&gt;
# answer, and which load the servers (especially the root servers)&lt;br /&gt;
# unnecessarily. If you have a dial-on-demand link they also stop&lt;br /&gt;
# these requests from bringing up the link unnecessarily.&lt;br /&gt;
&lt;br /&gt;
# Never forward plain names (without a dot or domain part)&lt;br /&gt;
domain-needed&lt;br /&gt;
# Never forward addresses in the non-routed address spaces.&lt;br /&gt;
bogus-priv&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Uncomment this to filter useless windows-originated DNS requests&lt;br /&gt;
# which can trigger dial-on-demand links needlessly.&lt;br /&gt;
# Note that (amongst other things) this blocks all SRV requests,&lt;br /&gt;
# so don't use it if you use eg Kerberos, SIP, XMMP or Google-talk.&lt;br /&gt;
# This option only affects forwarding, SRV records originating for&lt;br /&gt;
# dnsmasq (via srv-host= lines) are not suppressed by it.&lt;br /&gt;
#filterwin2k&lt;br /&gt;
&lt;br /&gt;
# Change this line if you want dns to get its upstream servers from&lt;br /&gt;
# somewhere other that /etc/resolv.conf&lt;br /&gt;
#resolv-file=&lt;br /&gt;
&lt;br /&gt;
# By  default,  dnsmasq  will  send queries to any of the upstream&lt;br /&gt;
# servers it knows about and tries to favour servers to are  known&lt;br /&gt;
# to  be  up.  Uncommenting this forces dnsmasq to try each query&lt;br /&gt;
# with  each  server  strictly  in  the  order  they   appear   in&lt;br /&gt;
# /etc/resolv.conf&lt;br /&gt;
#strict-order&lt;br /&gt;
&lt;br /&gt;
# If you don't want dnsmasq to read /etc/resolv.conf or any other&lt;br /&gt;
# file, getting its servers from this file instead (see below), then&lt;br /&gt;
# uncomment this.&lt;br /&gt;
#no-resolv&lt;br /&gt;
&lt;br /&gt;
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv&lt;br /&gt;
# files for changes and re-read them then uncomment this.&lt;br /&gt;
#no-poll&lt;br /&gt;
&lt;br /&gt;
# Add other name servers here, with domain specs if they are for&lt;br /&gt;
# non-public domains.&lt;br /&gt;
#server=/localnet/192.168.0.1&lt;br /&gt;
&lt;br /&gt;
# Example of routing PTR queries to nameservers: this will send all&lt;br /&gt;
# address-&amp;gt;name queries for 192.168.3/24 to nameserver 10.1.2.3&lt;br /&gt;
#server=/3.168.192.in-addr.arpa/10.1.2.3&lt;br /&gt;
&lt;br /&gt;
# Add local-only domains here, queries in these domains are answered&lt;br /&gt;
# from /etc/hosts or DHCP only.&lt;br /&gt;
#local=/localnet/&lt;br /&gt;
&lt;br /&gt;
# Add domains which you want to force to an IP address here.&lt;br /&gt;
# The example below send any host in double-click.net to a local&lt;br /&gt;
# web-server.&lt;br /&gt;
#address=/double-click.net/127.0.0.1&lt;br /&gt;
&lt;br /&gt;
# --address (and --server) work with IPv6 addresses too.&lt;br /&gt;
#address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83&lt;br /&gt;
&lt;br /&gt;
# You can control how dnsmasq talks to a server: this forces&lt;br /&gt;
# queries to 10.1.2.3 to be routed via eth1&lt;br /&gt;
# server=10.1.2.3@eth1&lt;br /&gt;
&lt;br /&gt;
# and this sets the source (ie local) address used to talk to&lt;br /&gt;
# 10.1.2.3 to 192.168.1.1 port 55 (there must be a interface with that&lt;br /&gt;
# IP on the machine, obviously).&lt;br /&gt;
# server=10.1.2.3@192.168.1.1#55&lt;br /&gt;
&lt;br /&gt;
# If you want dnsmasq to change uid and gid to something other&lt;br /&gt;
# than the default, edit the following lines.&lt;br /&gt;
#user=&lt;br /&gt;
#group=&lt;br /&gt;
&lt;br /&gt;
# If you want dnsmasq to listen for DHCP and DNS requests only on&lt;br /&gt;
# specified interfaces (and the loopback) give the name of the&lt;br /&gt;
# interface (eg eth0) here.&lt;br /&gt;
# Repeat the line for more than one interface.&lt;br /&gt;
interface=wlan0&lt;br /&gt;
&lt;br /&gt;
# Or you can specify which interface _not_ to listen on&lt;br /&gt;
except-interface=eth0&lt;br /&gt;
# Or which to listen on by address (remember to include 127.0.0.1 if&lt;br /&gt;
# you use this.)&lt;br /&gt;
#listen-address=&lt;br /&gt;
# If you want dnsmasq to provide only DNS service on an interface,&lt;br /&gt;
# configure it as shown above, and then use the following line to&lt;br /&gt;
# disable DHCP and TFTP on it.&lt;br /&gt;
#no-dhcp-interface=eth0&lt;br /&gt;
&lt;br /&gt;
# On systems which support it, dnsmasq binds the wildcard address,&lt;br /&gt;
# even when it is listening on only some interfaces. It then discards&lt;br /&gt;
# requests that it shouldn't reply to. This has the advantage of&lt;br /&gt;
# working even when interfaces come and go and change address. If you&lt;br /&gt;
# want dnsmasq to really bind only the interfaces it is listening on,&lt;br /&gt;
# uncomment this option. About the only time you may need this is when&lt;br /&gt;
# running another nameserver on the same machine.&lt;br /&gt;
bind-interfaces&lt;br /&gt;
&lt;br /&gt;
# If you don't want dnsmasq to read /etc/hosts, uncomment the&lt;br /&gt;
# following line.&lt;br /&gt;
#no-hosts&lt;br /&gt;
# or if you want it to read another file, as well as /etc/hosts, use&lt;br /&gt;
# this.&lt;br /&gt;
#addn-hosts=/etc/banner_add_hosts&lt;br /&gt;
&lt;br /&gt;
# Set this (and domain: see below) if you want to have a domain&lt;br /&gt;
# automatically added to simple names in a hosts-file.&lt;br /&gt;
expand-hosts&lt;br /&gt;
&lt;br /&gt;
# Set the domain for dnsmasq. this is optional, but if it is set, it&lt;br /&gt;
# does the following things.&lt;br /&gt;
# 1) Allows DHCP hosts to have fully qualified domain names, as long&lt;br /&gt;
#     as the domain part matches this setting.&lt;br /&gt;
# 2) Sets the &amp;quot;domain&amp;quot; DHCP option thereby potentially setting the&lt;br /&gt;
#    domain of all systems configured by DHCP&lt;br /&gt;
# 3) Provides the domain part for &amp;quot;expand-hosts&amp;quot;&lt;br /&gt;
domain=casinha.local&lt;br /&gt;
&lt;br /&gt;
# Set a different domain for a particular subnet&lt;br /&gt;
#domain=wireless.thekelleys.org.uk,192.168.2.0/24&lt;br /&gt;
&lt;br /&gt;
# Same idea, but range rather then subnet&lt;br /&gt;
#domain=reserved.thekelleys.org.uk,192.68.3.100,192.168.3.200&lt;br /&gt;
&lt;br /&gt;
# Uncomment this to enable the integrated DHCP server, you need&lt;br /&gt;
# to supply the range of addresses available for lease and optionally&lt;br /&gt;
# a lease time. If you have more than one network, you will need to&lt;br /&gt;
# repeat this for each network on which you want to supply DHCP&lt;br /&gt;
# service.&lt;br /&gt;
dhcp-range=192.168.2.50,192.168.2.150,12h&lt;br /&gt;
&lt;br /&gt;
# This is an example of a DHCP range where the netmask is given. This&lt;br /&gt;
# is needed for networks we reach the dnsmasq DHCP server via a relay&lt;br /&gt;
# agent. If you don't know what a DHCP relay agent is, you probably&lt;br /&gt;
# don't need to worry about this.&lt;br /&gt;
#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h&lt;br /&gt;
&lt;br /&gt;
# This is an example of a DHCP range which sets a tag, so that&lt;br /&gt;
# some DHCP options may be set only for this network.&lt;br /&gt;
#dhcp-range=set:red,192.168.0.50,192.168.0.150&lt;br /&gt;
&lt;br /&gt;
# Use this DHCP range only when the tag &amp;quot;green&amp;quot; is set.&lt;br /&gt;
#dhcp-range=tag:green,192.168.0.50,192.168.0.150,12h&lt;br /&gt;
&lt;br /&gt;
# Specify a subnet which can't be used for dynamic address allocation,&lt;br /&gt;
# is available for hosts with matching --dhcp-host lines. Note that&lt;br /&gt;
# dhcp-host declarations will be ignored unless there is a dhcp-range&lt;br /&gt;
# of some type for the subnet in question.&lt;br /&gt;
# In this case the netmask is implied (it comes from the network&lt;br /&gt;
# configuration on the machine running dnsmasq) it is possible to give&lt;br /&gt;
# an explicit netmask instead.&lt;br /&gt;
#dhcp-range=192.168.0.0,static&lt;br /&gt;
&lt;br /&gt;
# Enable DHCPv6. Note that the prefix-length does not need to be specified&lt;br /&gt;
# and defaults to 64 if missing/&lt;br /&gt;
#dhcp-range=1234::2, 1234::500, 64, 12h&lt;br /&gt;
&lt;br /&gt;
# Do Router Advertisements, BUT NOT DHCP for this subnet.&lt;br /&gt;
#dhcp-range=1234::, ra-only &lt;br /&gt;
&lt;br /&gt;
# Do Router Advertisements, BUT NOT DHCP for this subnet, also try and&lt;br /&gt;
# add names to the DNS for the IPv6 address of SLAAC-configured dual-stack &lt;br /&gt;
# hosts. Use the DHCPv4 lease to derive the name, network segment and &lt;br /&gt;
# MAC address and assume that the host will also have an&lt;br /&gt;
# IPv6 address calculated using the SLAAC alogrithm.&lt;br /&gt;
#dhcp-range=1234::, ra-names&lt;br /&gt;
&lt;br /&gt;
# Do Router Advertisements, BUT NOT DHCP for this subnet.&lt;br /&gt;
# Set the lifetime to 46 hours. (Note: minimum lifetime is 2 hours.)&lt;br /&gt;
#dhcp-range=1234::, ra-only, 48h&lt;br /&gt;
&lt;br /&gt;
# Do DHCP and Router Advertisements for this subnet. Set the A bit in the RA&lt;br /&gt;
# so that clients can use SLAAC addresses as well as DHCP ones.&lt;br /&gt;
#dhcp-range=1234::2, 1234::500, slaac&lt;br /&gt;
&lt;br /&gt;
# Do Router Advertisements and stateless DHCP for this subnet. Clients will&lt;br /&gt;
# not get addresses from DHCP, but they will get other configuration information.&lt;br /&gt;
# They will use SLAAC for addresses.&lt;br /&gt;
#dhcp-range=1234::, ra-stateless&lt;br /&gt;
&lt;br /&gt;
# Do stateless DHCP, SLAAC, and generate DNS names for SLAAC addresses&lt;br /&gt;
# from DHCPv4 leases.&lt;br /&gt;
#dhcp-range=1234::, ra-stateless, ra-names&lt;br /&gt;
&lt;br /&gt;
# Do router advertisements for all subnets where we're doing DHCPv6&lt;br /&gt;
# Unless overriden by ra-stateless, ra-names, et al, the router &lt;br /&gt;
# advertisements will have the M and O bits set, so that the clients&lt;br /&gt;
# get addresses and configuration from DHCPv6, and the A bit reset, so the &lt;br /&gt;
# clients don't use SLAAC addresses.&lt;br /&gt;
#enable-ra&lt;br /&gt;
&lt;br /&gt;
# Supply parameters for specified hosts using DHCP. There are lots&lt;br /&gt;
# of valid alternatives, so we will give examples of each. Note that&lt;br /&gt;
# IP addresses DO NOT have to be in the range given above, they just&lt;br /&gt;
# need to be on the same network. The order of the parameters in these&lt;br /&gt;
# do not matter, it's permissible to give name, address and MAC in any&lt;br /&gt;
# order.&lt;br /&gt;
&lt;br /&gt;
# Always allocate the host with Ethernet address 11:22:33:44:55:66&lt;br /&gt;
# The IP address 192.168.0.60&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,192.168.0.60&lt;br /&gt;
&lt;br /&gt;
# Always set the name of the host with hardware address&lt;br /&gt;
# 11:22:33:44:55:66 to be &amp;quot;fred&amp;quot;&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,fred&lt;br /&gt;
&lt;br /&gt;
# Always give the host with Ethernet address 11:22:33:44:55:66&lt;br /&gt;
# the name fred and IP address 192.168.0.60 and lease time 45 minutes&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m&lt;br /&gt;
&lt;br /&gt;
# Give a host with Ethernet address 11:22:33:44:55:66 or&lt;br /&gt;
# 12:34:56:78:90:12 the IP address 192.168.0.60. Dnsmasq will assume&lt;br /&gt;
# that these two Ethernet interfaces will never be in use at the same&lt;br /&gt;
# time, and give the IP address to the second, even if it is already&lt;br /&gt;
# in use by the first. Useful for laptops with wired and wireless&lt;br /&gt;
# addresses.&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60&lt;br /&gt;
&lt;br /&gt;
# Give the machine which says its name is &amp;quot;bert&amp;quot; IP address&lt;br /&gt;
# 192.168.0.70 and an infinite lease&lt;br /&gt;
#dhcp-host=bert,192.168.0.70,infinite&lt;br /&gt;
&lt;br /&gt;
# Always give the host with client identifier 01:02:02:04&lt;br /&gt;
# the IP address 192.168.0.60&lt;br /&gt;
#dhcp-host=id:01:02:02:04,192.168.0.60&lt;br /&gt;
&lt;br /&gt;
# Always give the host with client identifier &amp;quot;marjorie&amp;quot;&lt;br /&gt;
# the IP address 192.168.0.60&lt;br /&gt;
#dhcp-host=id:marjorie,192.168.0.60&lt;br /&gt;
&lt;br /&gt;
# Enable the address given for &amp;quot;judge&amp;quot; in /etc/hosts&lt;br /&gt;
# to be given to a machine presenting the name &amp;quot;judge&amp;quot; when&lt;br /&gt;
# it asks for a DHCP lease.&lt;br /&gt;
#dhcp-host=judge&lt;br /&gt;
&lt;br /&gt;
# Never offer DHCP service to a machine whose Ethernet&lt;br /&gt;
# address is 11:22:33:44:55:66&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,ignore&lt;br /&gt;
&lt;br /&gt;
# Ignore any client-id presented by the machine with Ethernet&lt;br /&gt;
# address 11:22:33:44:55:66. This is useful to prevent a machine&lt;br /&gt;
# being treated differently when running under different OS's or&lt;br /&gt;
# between PXE boot and OS boot.&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,id:*&lt;br /&gt;
&lt;br /&gt;
# Send extra options which are tagged as &amp;quot;red&amp;quot; to&lt;br /&gt;
# the machine with Ethernet address 11:22:33:44:55:66&lt;br /&gt;
#dhcp-host=11:22:33:44:55:66,set:red&lt;br /&gt;
&lt;br /&gt;
# Send extra options which are tagged as &amp;quot;red&amp;quot; to&lt;br /&gt;
# any machine with Ethernet address starting 11:22:33:&lt;br /&gt;
#dhcp-host=11:22:33:*:*:*,set:red&lt;br /&gt;
&lt;br /&gt;
# Give a fixed IPv6 address and name to client with &lt;br /&gt;
# DUID 00:01:00:01:16:d2:83:fc:92:d4:19:e2:d8:b2&lt;br /&gt;
# Note the MAC addresses CANNOT be used to identify DHCPv6 clients.&lt;br /&gt;
# Note also the they [] around the IPv6 address are obilgatory.&lt;br /&gt;
#dhcp-host=id:00:01:00:01:16:d2:83:fc:92:d4:19:e2:d8:b2, fred, [1234::5] &lt;br /&gt;
&lt;br /&gt;
# Ignore any clients which are not specified in dhcp-host lines&lt;br /&gt;
# or /etc/ethers. Equivalent to ISC &amp;quot;deny unknown-clients&amp;quot;.&lt;br /&gt;
# This relies on the special &amp;quot;known&amp;quot; tag which is set when&lt;br /&gt;
# a host is matched.&lt;br /&gt;
#dhcp-ignore=tag:!known&lt;br /&gt;
&lt;br /&gt;
# Send extra options which are tagged as &amp;quot;red&amp;quot; to any machine whose&lt;br /&gt;
# DHCP vendorclass string includes the substring &amp;quot;Linux&amp;quot;&lt;br /&gt;
#dhcp-vendorclass=set:red,Linux&lt;br /&gt;
&lt;br /&gt;
# Send extra options which are tagged as &amp;quot;red&amp;quot; to any machine one&lt;br /&gt;
# of whose DHCP userclass strings includes the substring &amp;quot;accounts&amp;quot;&lt;br /&gt;
#dhcp-userclass=set:red,accounts&lt;br /&gt;
&lt;br /&gt;
# Send extra options which are tagged as &amp;quot;red&amp;quot; to any machine whose&lt;br /&gt;
# MAC address matches the pattern.&lt;br /&gt;
#dhcp-mac=set:red,00:60:8C:*:*:*&lt;br /&gt;
&lt;br /&gt;
# If this line is uncommented, dnsmasq will read /etc/ethers and act&lt;br /&gt;
# on the ethernet-address/IP pairs found there just as if they had&lt;br /&gt;
# been given as --dhcp-host options. Useful if you keep&lt;br /&gt;
# MAC-address/host mappings there for other purposes.&lt;br /&gt;
#read-ethers&lt;br /&gt;
&lt;br /&gt;
# Send options to hosts which ask for a DHCP lease.&lt;br /&gt;
# See RFC 2132 for details of available options.&lt;br /&gt;
# Common options can be given to dnsmasq by name:&lt;br /&gt;
# run &amp;quot;dnsmasq --help dhcp&amp;quot; to get a list.&lt;br /&gt;
# Note that all the common settings, such as netmask and&lt;br /&gt;
# broadcast address, DNS server and default route, are given&lt;br /&gt;
# sane defaults by dnsmasq. You very likely will not need&lt;br /&gt;
# any dhcp-options. If you use Windows clients and Samba, there&lt;br /&gt;
# are some options which are recommended, they are detailed at the&lt;br /&gt;
# end of this section.&lt;br /&gt;
&lt;br /&gt;
# Override the default route supplied by dnsmasq, which assumes the&lt;br /&gt;
# router is the same machine as the one running dnsmasq.&lt;br /&gt;
dhcp-option=3,192.168.2.2&lt;br /&gt;
&lt;br /&gt;
# Do the same thing, but using the option name&lt;br /&gt;
#dhcp-option=option:router,1.2.3.4&lt;br /&gt;
&lt;br /&gt;
# Override the default route supplied by dnsmasq and send no default&lt;br /&gt;
# route at all. Note that this only works for the options sent by&lt;br /&gt;
# default (1, 3, 6, 12, 28) the same line will send a zero-length option&lt;br /&gt;
# for all other option numbers.&lt;br /&gt;
#dhcp-option=3&lt;br /&gt;
&lt;br /&gt;
# Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5&lt;br /&gt;
#dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5&lt;br /&gt;
&lt;br /&gt;
# Send DHCPv6 option. Note [] around IPv6 addresses.&lt;br /&gt;
#dhcp-option=option6:dns-server,[1234::77],[1234::88]&lt;br /&gt;
&lt;br /&gt;
# Send DHCPv6 option for namservers as the machine running &lt;br /&gt;
# dnsmasq and another.&lt;br /&gt;
#dhcp-option=option6:dns-server,[::],[1234::88]&lt;br /&gt;
&lt;br /&gt;
# Set the NTP time server address to be the same machine as&lt;br /&gt;
# is running dnsmasq&lt;br /&gt;
#dhcp-option=42,0.0.0.0&lt;br /&gt;
&lt;br /&gt;
# Set the NIS domain name to &amp;quot;welly&amp;quot;&lt;br /&gt;
#dhcp-option=40,welly&lt;br /&gt;
&lt;br /&gt;
# Set the default time-to-live to 50&lt;br /&gt;
#dhcp-option=23,50&lt;br /&gt;
&lt;br /&gt;
# Set the &amp;quot;all subnets are local&amp;quot; flag&lt;br /&gt;
#dhcp-option=27,1&lt;br /&gt;
&lt;br /&gt;
# Send the etherboot magic flag and then etherboot options (a string).&lt;br /&gt;
#dhcp-option=128,e4:45:74:68:00:00&lt;br /&gt;
#dhcp-option=129,NIC=eepro100&lt;br /&gt;
&lt;br /&gt;
# Specify an option which will only be sent to the &amp;quot;red&amp;quot; network&lt;br /&gt;
# (see dhcp-range for the declaration of the &amp;quot;red&amp;quot; network)&lt;br /&gt;
# Note that the tag: part must precede the option: part.&lt;br /&gt;
#dhcp-option = tag:red, option:ntp-server, 192.168.1.1&lt;br /&gt;
&lt;br /&gt;
# The following DHCP options set up dnsmasq in the same way as is specified&lt;br /&gt;
# for the ISC dhcpcd in&lt;br /&gt;
# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt&lt;br /&gt;
# adapted for a typical dnsmasq installation where the host running&lt;br /&gt;
# dnsmasq is also the host running samba.&lt;br /&gt;
# you may want to uncomment some or all of them if you use&lt;br /&gt;
# Windows clients and Samba.&lt;br /&gt;
#dhcp-option=19,0           # option ip-forwarding off&lt;br /&gt;
#dhcp-option=44,0.0.0.0     # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)&lt;br /&gt;
#dhcp-option=45,0.0.0.0     # netbios datagram distribution server&lt;br /&gt;
#dhcp-option=46,8           # netbios node type&lt;br /&gt;
&lt;br /&gt;
# Send an empty WPAD option. This may be REQUIRED to get windows 7 to behave.&lt;br /&gt;
#dhcp-option=252,&amp;quot;\n&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Send RFC-3397 DNS domain search DHCP option. WARNING: Your DHCP client&lt;br /&gt;
# probably doesn't support this......&lt;br /&gt;
#dhcp-option=option:domain-search,eng.apple.com,marketing.apple.com&lt;br /&gt;
&lt;br /&gt;
# Send RFC-3442 classless static routes (note the netmask encoding)&lt;br /&gt;
#dhcp-option=121,192.168.1.0/24,1.2.3.4,10.0.0.0/8,5.6.7.8&lt;br /&gt;
&lt;br /&gt;
# Send vendor-class specific options encapsulated in DHCP option 43.&lt;br /&gt;
# The meaning of the options is defined by the vendor-class so&lt;br /&gt;
# options are sent only when the client supplied vendor class&lt;br /&gt;
# matches the class given here. (A substring match is OK, so &amp;quot;MSFT&amp;quot;&lt;br /&gt;
# matches &amp;quot;MSFT&amp;quot; and &amp;quot;MSFT 5.0&amp;quot;). This example sets the&lt;br /&gt;
# mtftp address to 0.0.0.0 for PXEClients.&lt;br /&gt;
#dhcp-option=vendor:PXEClient,1,0.0.0.0&lt;br /&gt;
&lt;br /&gt;
# Send microsoft-specific option to tell windows to release the DHCP lease&lt;br /&gt;
# when it shuts down. Note the &amp;quot;i&amp;quot; flag, to tell dnsmasq to send the&lt;br /&gt;
# value as a four-byte integer - that's what microsoft wants. See&lt;br /&gt;
# http://technet2.microsoft.com/WindowsServer/en/library/a70f1bb7-d2d4-49f0-96d6-4b7414ecfaae1033.mspx?mfr=true&lt;br /&gt;
#dhcp-option=vendor:MSFT,2,1i&lt;br /&gt;
&lt;br /&gt;
# Send the Encapsulated-vendor-class ID needed by some configurations of&lt;br /&gt;
# Etherboot to allow is to recognise the DHCP server.&lt;br /&gt;
#dhcp-option=vendor:Etherboot,60,&amp;quot;Etherboot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Send options to PXELinux. Note that we need to send the options even&lt;br /&gt;
# though they don't appear in the parameter request list, so we need&lt;br /&gt;
# to use dhcp-option-force here.&lt;br /&gt;
# See http://syslinux.zytor.com/pxe.php#special for details.&lt;br /&gt;
# Magic number - needed before anything else is recognised&lt;br /&gt;
#dhcp-option-force=208,f1:00:74:7e&lt;br /&gt;
# Configuration file name&lt;br /&gt;
#dhcp-option-force=209,configs/common&lt;br /&gt;
# Path prefix&lt;br /&gt;
#dhcp-option-force=210,/tftpboot/pxelinux/files/&lt;br /&gt;
# Reboot time. (Note 'i' to send 32-bit value)&lt;br /&gt;
#dhcp-option-force=211,30i&lt;br /&gt;
&lt;br /&gt;
# Set the boot filename for netboot/PXE. You will only need&lt;br /&gt;
# this is you want to boot machines over the network and you will need&lt;br /&gt;
# a TFTP server; either dnsmasq's built in TFTP server or an&lt;br /&gt;
# external one. (See below for how to enable the TFTP server.)&lt;br /&gt;
#dhcp-boot=pxelinux.0&lt;br /&gt;
&lt;br /&gt;
# The same as above, but use custom tftp-server instead machine running dnsmasq&lt;br /&gt;
#dhcp-boot=pxelinux,server.name,192.168.1.100&lt;br /&gt;
&lt;br /&gt;
# Boot for Etherboot gPXE. The idea is to send two different&lt;br /&gt;
# filenames, the first loads gPXE, and the second tells gPXE what to&lt;br /&gt;
# load. The dhcp-match sets the gpxe tag for requests from gPXE.&lt;br /&gt;
#dhcp-match=set:gpxe,175 # gPXE sends a 175 option.&lt;br /&gt;
#dhcp-boot=tag:!gpxe,undionly.kpxe&lt;br /&gt;
#dhcp-boot=mybootimage&lt;br /&gt;
&lt;br /&gt;
# Encapsulated options for Etherboot gPXE. All the options are&lt;br /&gt;
# encapsulated within option 175&lt;br /&gt;
#dhcp-option=encap:175, 1, 5b         # priority code&lt;br /&gt;
#dhcp-option=encap:175, 176, 1b       # no-proxydhcp&lt;br /&gt;
#dhcp-option=encap:175, 177, string   # bus-id&lt;br /&gt;
#dhcp-option=encap:175, 189, 1b       # BIOS drive code&lt;br /&gt;
#dhcp-option=encap:175, 190, user     # iSCSI username&lt;br /&gt;
#dhcp-option=encap:175, 191, pass     # iSCSI password&lt;br /&gt;
&lt;br /&gt;
# Test for the architecture of a netboot client. PXE clients are&lt;br /&gt;
# supposed to send their architecture as option 93. (See RFC 4578)&lt;br /&gt;
#dhcp-match=peecees, option:client-arch, 0 #x86-32&lt;br /&gt;
#dhcp-match=itanics, option:client-arch, 2 #IA64&lt;br /&gt;
#dhcp-match=hammers, option:client-arch, 6 #x86-64&lt;br /&gt;
#dhcp-match=mactels, option:client-arch, 7 #EFI x86-64&lt;br /&gt;
&lt;br /&gt;
# Do real PXE, rather than just booting a single file, this is an&lt;br /&gt;
# alternative to dhcp-boot.&lt;br /&gt;
#pxe-prompt=&amp;quot;What system shall I netboot?&amp;quot;&lt;br /&gt;
# or with timeout before first available action is taken:&lt;br /&gt;
#pxe-prompt=&amp;quot;Press F8 for menu.&amp;quot;, 60&lt;br /&gt;
&lt;br /&gt;
# Available boot services. for PXE.&lt;br /&gt;
#pxe-service=x86PC, &amp;quot;Boot from local disk&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Loads &amp;lt;tftp-root&amp;gt;/pxelinux.0 from dnsmasq TFTP server.&lt;br /&gt;
#pxe-service=x86PC, &amp;quot;Install Linux&amp;quot;, pxelinux&lt;br /&gt;
&lt;br /&gt;
# Loads &amp;lt;tftp-root&amp;gt;/pxelinux.0 from TFTP server at 1.2.3.4.&lt;br /&gt;
# Beware this fails on old PXE ROMS.&lt;br /&gt;
#pxe-service=x86PC, &amp;quot;Install Linux&amp;quot;, pxelinux, 1.2.3.4&lt;br /&gt;
&lt;br /&gt;
# Use bootserver on network, found my multicast or broadcast.&lt;br /&gt;
#pxe-service=x86PC, &amp;quot;Install windows from RIS server&amp;quot;, 1&lt;br /&gt;
&lt;br /&gt;
# Use bootserver at a known IP address.&lt;br /&gt;
#pxe-service=x86PC, &amp;quot;Install windows from RIS server&amp;quot;, 1, 1.2.3.4&lt;br /&gt;
&lt;br /&gt;
# If you have multicast-FTP available,&lt;br /&gt;
# information for that can be passed in a similar way using options 1&lt;br /&gt;
# to 5. See page 19 of&lt;br /&gt;
# http://download.intel.com/design/archives/wfm/downloads/pxespec.pdf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Enable dnsmasq's built-in TFTP server&lt;br /&gt;
#enable-tftp&lt;br /&gt;
&lt;br /&gt;
# Set the root directory for files available via FTP.&lt;br /&gt;
#tftp-root=/var/ftpd&lt;br /&gt;
&lt;br /&gt;
# Make the TFTP server more secure: with this set, only files owned by&lt;br /&gt;
# the user dnsmasq is running as will be send over the net.&lt;br /&gt;
#tftp-secure&lt;br /&gt;
&lt;br /&gt;
# This option stops dnsmasq from negotiating a larger blocksize for TFTP&lt;br /&gt;
# transfers. It will slow things down, but may rescue some broken TFTP&lt;br /&gt;
# clients.&lt;br /&gt;
#tftp-no-blocksize&lt;br /&gt;
&lt;br /&gt;
# Set the boot file name only when the &amp;quot;red&amp;quot; tag is set.&lt;br /&gt;
#dhcp-boot=net:red,pxelinux.red-net&lt;br /&gt;
&lt;br /&gt;
# An example of dhcp-boot with an external TFTP server: the name and IP&lt;br /&gt;
# address of the server are given after the filename.&lt;br /&gt;
# Can fail with old PXE ROMS. Overridden by --pxe-service.&lt;br /&gt;
#dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3&lt;br /&gt;
&lt;br /&gt;
# If there are multiple external tftp servers having a same name&lt;br /&gt;
# (using /etc/hosts) then that name can be specified as the&lt;br /&gt;
# tftp_servername (the third option to dhcp-boot) and in that&lt;br /&gt;
# case dnsmasq resolves this name and returns the resultant IP&lt;br /&gt;
# addresses in round robin fasion. This facility can be used to&lt;br /&gt;
# load balance the tftp load among a set of servers.&lt;br /&gt;
#dhcp-boot=/var/ftpd/pxelinux.0,boothost,tftp_server_name&lt;br /&gt;
&lt;br /&gt;
# Set the limit on DHCP leases, the default is 150&lt;br /&gt;
#dhcp-lease-max=150&lt;br /&gt;
&lt;br /&gt;
# The DHCP server needs somewhere on disk to keep its lease database.&lt;br /&gt;
# This defaults to a sane location, but if you want to change it, use&lt;br /&gt;
# the line below.&lt;br /&gt;
#dhcp-leasefile=/var/lib/misc/dnsmasq.leases&lt;br /&gt;
&lt;br /&gt;
# Set the DHCP server to authoritative mode. In this mode it will barge in&lt;br /&gt;
# and take over the lease for any client which broadcasts on the network,&lt;br /&gt;
# whether it has a record of the lease or not. This avoids long timeouts&lt;br /&gt;
# when a machine wakes up on a new network. DO NOT enable this if there's&lt;br /&gt;
# the slightest chance that you might end up accidentally configuring a DHCP&lt;br /&gt;
# server for your campus/company accidentally. The ISC server uses&lt;br /&gt;
# the same option, and this URL provides more information:&lt;br /&gt;
# http://www.isc.org/files/auth.html&lt;br /&gt;
#dhcp-authoritative&lt;br /&gt;
&lt;br /&gt;
# Run an executable when a DHCP lease is created or destroyed.&lt;br /&gt;
# The arguments sent to the script are &amp;quot;add&amp;quot; or &amp;quot;del&amp;quot;,&lt;br /&gt;
# then the MAC address, the IP address and finally the hostname&lt;br /&gt;
# if there is one.&lt;br /&gt;
#dhcp-script=/bin/echo&lt;br /&gt;
&lt;br /&gt;
# Set the cachesize here.&lt;br /&gt;
#cache-size=150&lt;br /&gt;
&lt;br /&gt;
# If you want to disable negative caching, uncomment this.&lt;br /&gt;
#no-negcache&lt;br /&gt;
&lt;br /&gt;
# Normally responses which come form /etc/hosts and the DHCP lease&lt;br /&gt;
# file have Time-To-Live set as zero, which conventionally means&lt;br /&gt;
# do not cache further. If you are happy to trade lower load on the&lt;br /&gt;
# server for potentially stale date, you can set a time-to-live (in&lt;br /&gt;
# seconds) here.&lt;br /&gt;
#local-ttl=&lt;br /&gt;
&lt;br /&gt;
# If you want dnsmasq to detect attempts by Verisign to send queries&lt;br /&gt;
# to unregistered .com and .net hosts to its sitefinder service and&lt;br /&gt;
# have dnsmasq instead return the correct NXDOMAIN response, uncomment&lt;br /&gt;
# this line. You can add similar lines to do the same for other&lt;br /&gt;
# registries which have implemented wildcard A records.&lt;br /&gt;
#bogus-nxdomain=64.94.110.11&lt;br /&gt;
&lt;br /&gt;
# If you want to fix up DNS results from upstream servers, use the&lt;br /&gt;
# alias option. This only works for IPv4.&lt;br /&gt;
# This alias makes a result of 1.2.3.4 appear as 5.6.7.8&lt;br /&gt;
#alias=1.2.3.4,5.6.7.8&lt;br /&gt;
# and this maps 1.2.3.x to 5.6.7.x&lt;br /&gt;
#alias=1.2.3.0,5.6.7.0,255.255.255.0&lt;br /&gt;
# and this maps 192.168.0.10-&amp;gt;192.168.0.40 to 10.0.0.10-&amp;gt;10.0.0.40&lt;br /&gt;
#alias=192.168.0.10-192.168.0.40,10.0.0.0,255.255.255.0&lt;br /&gt;
&lt;br /&gt;
# Change these lines if you want dnsmasq to serve MX records.&lt;br /&gt;
&lt;br /&gt;
# Return an MX record named &amp;quot;maildomain.com&amp;quot; with target&lt;br /&gt;
# servermachine.com and preference 50&lt;br /&gt;
#mx-host=maildomain.com,servermachine.com,50&lt;br /&gt;
&lt;br /&gt;
# Set the default target for MX records created using the localmx option.&lt;br /&gt;
#mx-target=servermachine.com&lt;br /&gt;
&lt;br /&gt;
# Return an MX record pointing to the mx-target for all local&lt;br /&gt;
# machines.&lt;br /&gt;
#localmx&lt;br /&gt;
&lt;br /&gt;
# Return an MX record pointing to itself for all local machines.&lt;br /&gt;
#selfmx&lt;br /&gt;
&lt;br /&gt;
# Change the following lines if you want dnsmasq to serve SRV&lt;br /&gt;
# records.  These are useful if you want to serve ldap requests for&lt;br /&gt;
# Active Directory and other windows-originated DNS requests.&lt;br /&gt;
# See RFC 2782.&lt;br /&gt;
# You may add multiple srv-host lines.&lt;br /&gt;
# The fields are &amp;lt;name&amp;gt;,&amp;lt;target&amp;gt;,&amp;lt;port&amp;gt;,&amp;lt;priority&amp;gt;,&amp;lt;weight&amp;gt;&lt;br /&gt;
# If the domain part if missing from the name (so that is just has the&lt;br /&gt;
# service and protocol sections) then the domain given by the domain=&lt;br /&gt;
# config option is used. (Note that expand-hosts does not need to be&lt;br /&gt;
# set for this to work.)&lt;br /&gt;
&lt;br /&gt;
# A SRV record sending LDAP for the example.com domain to&lt;br /&gt;
# ldapserver.example.com port 389&lt;br /&gt;
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389&lt;br /&gt;
&lt;br /&gt;
# A SRV record sending LDAP for the example.com domain to&lt;br /&gt;
# ldapserver.example.com port 389 (using domain=)&lt;br /&gt;
#domain=example.com&lt;br /&gt;
#srv-host=_ldap._tcp,ldapserver.example.com,389&lt;br /&gt;
&lt;br /&gt;
# Two SRV records for LDAP, each with different priorities&lt;br /&gt;
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1&lt;br /&gt;
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2&lt;br /&gt;
&lt;br /&gt;
# A SRV record indicating that there is no LDAP server for the domain&lt;br /&gt;
# example.com&lt;br /&gt;
#srv-host=_ldap._tcp.example.com&lt;br /&gt;
&lt;br /&gt;
# The following line shows how to make dnsmasq serve an arbitrary PTR&lt;br /&gt;
# record. This is useful for DNS-SD. (Note that the&lt;br /&gt;
# domain-name expansion done for SRV records _does_not&lt;br /&gt;
# occur for PTR records.)&lt;br /&gt;
#ptr-record=_http._tcp.dns-sd-services,&amp;quot;New Employee Page._http._tcp.dns-sd-services&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Change the following lines to enable dnsmasq to serve TXT records.&lt;br /&gt;
# These are used for things like SPF and zeroconf. (Note that the&lt;br /&gt;
# domain-name expansion done for SRV records _does_not&lt;br /&gt;
# occur for TXT records.)&lt;br /&gt;
&lt;br /&gt;
#Example SPF.&lt;br /&gt;
#txt-record=example.com,&amp;quot;v=spf1 a -all&amp;quot;&lt;br /&gt;
&lt;br /&gt;
#Example zeroconf&lt;br /&gt;
#txt-record=_http._tcp.example.com,name=value,paper=A4&lt;br /&gt;
&lt;br /&gt;
# Provide an alias for a &amp;quot;local&amp;quot; DNS name. Note that this _only_ works&lt;br /&gt;
# for targets which are names from DHCP or /etc/hosts. Give host&lt;br /&gt;
# &amp;quot;bert&amp;quot; another name, bertrand&lt;br /&gt;
#cname=bertand,bert&lt;br /&gt;
&lt;br /&gt;
# For debugging purposes, log each DNS query as it passes through&lt;br /&gt;
# dnsmasq.&lt;br /&gt;
#log-queries&lt;br /&gt;
&lt;br /&gt;
# Log lots of extra information about DHCP transactions.&lt;br /&gt;
#log-dhcp&lt;br /&gt;
&lt;br /&gt;
# Include a another lot of configuration options.&lt;br /&gt;
#conf-file=/etc/dnsmasq.more.conf&lt;br /&gt;
#conf-dir=/etc/dnsmasq.d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bruno</name></author>	</entry>

	</feed>