Defined Type: unbound::localzone
- Defined in:
- manifests/localzone.pp
Summary
Configures a local zone.Overview
The default zones are localhost, reverse 127.0.0.1 and ::1, and the AS112 zones. The AS112 zones are reverse DNS zones for private use and reserved IP addresses for which the servers on the internet cannot pro- vide correct answers.
Parameters:
28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'manifests/localzone.pp', line 28
define unbound::localzone (
Unbound::Local_zone_type $type,
String $zone = $name,
$config_file = $unbound::config_file,
Array[Unbound::Resource_record_type] $local_data = [],
String $template_name = 'unbound/local_zone.erb'
) {
concat::fragment { "unbound-localzone-${name}":
order => '06',
target => $config_file,
content => template($template_name),
}
}
|