source: trunk/puppet/modules/puppet-dnsmasq/templates/my.dnsmasq.conf.erb @ 512

Last change on this file since 512 was 512, checked in by sebas, 14 years ago

areglo del nombre de las variables + nueva seccion en el template para la resolucion de nombre

File size: 1.0 KB
Line 
1#
2# dnsmasq dhcpd configuration
3#
4<% if has_variable?("dhcp_authoritative") -%>
5dhcp-authoritative
6<% end -%>
7
8<% if dhcp_range != 'absent' -%>
9dhcp-range=<%= dhcp_range %>
10<% end -%>
11
12<% if dhcp_option != 'absent' -%>
13dhcp-option=<%= dhcp_option %>
14<% end -%>
15
16<% if has_variable?("read_ethers") -%>
17read-ethers
18<% end -%>
19
20#
21# dns configuration
22#
23
24# Never forward plain names (without a dot or domain part)
25domain-needed
26# Never forward addresses in the non-routed address spaces.
27bogus-priv
28
29<% if domain != 'absent' -%>
30# Set this (and domain: see below) if you want to have a domain
31# automatically added to simple names in a hosts-file.
32expand-hosts
33# Set the domain for dnsmasq. this is optional, but if it is set, it
34# does the following things.
35# 1) Allows DHCP hosts to have fully qualified domain names, as long
36#     as the domain part matches this setting.
37# 2) Sets the "domain" DHCP option thereby potentially setting the
38#    domain of all systems configured by DHCP
39# 3) Provides the domain part for "expand-hosts"
40domain=<%= domain %>
41<% end -%>
42
43
44
Note: See TracBrowser for help on using the repository browser.