---
- name: default
  description: Puppet BIND Pool
  attributes: {}

  ns_records:
    - hostname: ns1.example.org.
      priority: 1

  nameservers:
    - host: <%= scope.lookupvar("openstack_integration::config::host") %>
      port: 5322

  targets:
    - type: bind9
      description: BIND Instance

      masters:
        # mdns doesn't support ipv6
        - host: 127.0.0.1
          port: 5354

      options:
        host: <%= scope.lookupvar("openstack_integration::config::host") %>
        port: 5322
        rndc_host: <%= scope.lookupvar("openstack_integration::config::host") %>
        rndc_port: 953
        rndc_config_file: /etc/rndc.conf
        rndc_key_file: /etc/rndc.key