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
|
Rev | Line | |
---|
[511] | 1 | # |
---|
| 2 | # dnsmasq dhcpd configuration |
---|
| 3 | # |
---|
[512] | 4 | <% if has_variable?("dhcp_authoritative") -%> |
---|
[511] | 5 | dhcp-authoritative |
---|
| 6 | <% end -%> |
---|
| 7 | |
---|
[512] | 8 | <% if dhcp_range != 'absent' -%> |
---|
| 9 | dhcp-range=<%= dhcp_range %> |
---|
[511] | 10 | <% end -%> |
---|
| 11 | |
---|
[512] | 12 | <% if dhcp_option != 'absent' -%> |
---|
| 13 | dhcp-option=<%= dhcp_option %> |
---|
[511] | 14 | <% end -%> |
---|
| 15 | |
---|
[512] | 16 | <% if has_variable?("read_ethers") -%> |
---|
[511] | 17 | read-ethers |
---|
| 18 | <% end -%> |
---|
[512] | 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
TracBrowser
for help on using the repository browser.