summaryrefslogtreecommitdiff
path: root/designate/tests/resources/pools_yaml/multiple-pools.yaml
blob: fafae691be26889b23b7893394081fff1a2912ac (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
- name: pool-1
  description: Default PowerDNS Pool
  attributes:
    internal: true
  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: powerdns
      description: PowerDNS Database Cluster
      masters:
        - host: 192.0.2.1
          port: 5354
      options:
        connection: 'mysql+pymysql://designate:password@127.0.0.1/designate_pdns?charset=utf8'
  also_notifies:
   - host: 192.0.2.4
     port: 53

- name: pool-2
  id: cf2e8eab-76cd-4162-bf76-8aeee3556de0
  description: Default BIND9 Pool

  attributes:
    external: true
  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: bind9
      description: BIND9 Server 1
      masters:
        - host: 192.0.2.1
          port: 5354
      options:
        rndc_host: 192.0.2.2
        rndc_port: 953
        rndc_key_file: /etc/designate/rndc.key
    - type: bind9
      description: BIND9 Server 2
      masters:
        - host: 192.0.2.1
          port: 5354
      options:
        rndc_host: 192.0.2.3
        rndc_port: 953
        rndc_key_file: /etc/designate/rndc.key