# # dnsmasq dhcpd configuration # <% if has_variable?("dhcp_authoritative") -%> dhcp-authoritative <% end -%> <% if dhcp_range != 'absent' -%> dhcp-range=<%= dhcp_range %> <% end -%> <% if dhcp_option != 'absent' -%> dhcp-option=<%= dhcp_option %> <% end -%> <% if has_variable?("read_ethers") -%> read-ethers <% end -%> # # dns configuration # # Never forward plain names (without a dot or domain part) domain-needed # Never forward addresses in the non-routed address spaces. bogus-priv <% if domain != 'absent' -%> # Set this (and domain: see below) if you want to have a domain # automatically added to simple names in a hosts-file. expand-hosts # Set the domain for dnsmasq. this is optional, but if it is set, it # does the following things. # 1) Allows DHCP hosts to have fully qualified domain names, as long # as the domain part matches this setting. # 2) Sets the "domain" DHCP option thereby potentially setting the # domain of all systems configured by DHCP # 3) Provides the domain part for "expand-hosts" domain=<%= domain %> <% end -%>