summaryrefslogtreecommitdiff
path: root/designate/tests/resources/pools_yaml/pools.yaml
blob: 3bc8627c2167eda752f8de3468e0a71e838b89d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---

- name: default
  description: Default PowerDNS 4 Pool

  attributes:
    type: internal

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

  nameservers:
    - host: 192.0.2.2
      port: 53
    - host: 192.0.2.3
      port: 53

  targets:
    - type: pdns4
      description: PowerDNS 4 Server
      masters:
        - host: 192.0.2.1
          port: 5354
      options:
        api_endpoint: http://192.0.2.1:8081
        api_token: api_key
  also_notifies:
   - host: 192.0.2.4
     port: 53