- Timestamp:
- Jan 19, 2010, 6:35:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/puppet-dnsmasq/templates/my.dnsmasq.conf.erb
r511 r512 2 2 # dnsmasq dhcpd configuration 3 3 # 4 <% if has_variable?("dhcp -authorative") -%>4 <% if has_variable?("dhcp_authoritative") -%> 5 5 dhcp-authoritative 6 6 <% end -%> 7 7 8 <% if dhcp -range != 'absent' -%>9 dhcp-range=<%= dhcp -range %>8 <% if dhcp_range != 'absent' -%> 9 dhcp-range=<%= dhcp_range %> 10 10 <% end -%> 11 11 12 <% if dhcp -option != 'absent' -%>13 dhcp-option=<%= 3,10.11.12.1%>12 <% if dhcp_option != 'absent' -%> 13 dhcp-option=<%= dhcp_option %> 14 14 <% end -%> 15 15 16 <% if has_variable?("read -ethers") -%>16 <% if has_variable?("read_ethers") -%> 17 17 read-ethers 18 18 <% end -%> 19 20 # 21 # dns configuration 22 # 23 24 # Never forward plain names (without a dot or domain part) 25 domain-needed 26 # Never forward addresses in the non-routed address spaces. 27 bogus-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. 32 expand-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" 40 domain=<%= domain %> 41 <% end -%> 42 43 44
Note: See TracChangeset
for help on using the changeset viewer.