Cookbooks
bind
documentation
Bind Linked Zone

Back to resource list

bind_linked_zone

This resource will create a zone linked to a zone with the same name in a different view, using the BIND in-view directive. The in-view directive requires BIND 9.10 or higher.

Actions

ActionDescription
:createCreates a BIND linked zone

Properties

NameTypeDefaultDescription
bind_configStringdefaultName of the bind_config resource to notify actions on
in_viewStringThe view of the zone to reference
viewStringDefaults to the value from the bind_config propertyName of the view to configure the zone in
zone_nameStringThe name of the zone. Used only if the name property does not match the zone name. Must be identical to the name of the zone that is being linked to.

Examples

bind_primary_zone 'sub.example.com' do
  view 'internal'
end
 
bind_linked_zone 'sub.example.com' do
  in_view 'internal'
  view 'external'
end