935a415dee
'nameservers' value should listed out correctly IP address of powerdns server in the yaml pool. Change-Id: I83fd498c7d30fb116a6c34123453eec8aa84d8f8
114 lines
3.2 KiB
Plaintext
114 lines
3.2 KiB
Plaintext
---
|
|
- name: pool-1
|
|
# The name is immutable. There will be no option to change the name after
|
|
# creation and the only way will to change it will be to delete it
|
|
# (and all zones associated with it) and recreate it.
|
|
description: Default PowerDNS Pool
|
|
|
|
attributes:
|
|
internal: true
|
|
|
|
# List out the NS records for zones hosted within this pool
|
|
ns_records:
|
|
- hostname: ns1-1.example.org.
|
|
priority: 1
|
|
- hostname: ns1-2.example.org.
|
|
priority: 2
|
|
|
|
# List out the nameservers for this pool. These are the actual PowerDNS
|
|
# servers. We use these to verify changes have propagated to all nameservers.
|
|
nameservers:
|
|
- host: 192.0.2.2
|
|
port: 53
|
|
|
|
# List out the targets for this pool. For PowerDNS, this is the database
|
|
# (or databases, if you deploy a separate DB for each PowerDNS server)
|
|
targets:
|
|
- type: powerdns
|
|
description: PowerDNS Database Cluster
|
|
|
|
# List out the designate-mdns servers from which PowerDNS servers should
|
|
# request zone transfers (AXFRs) from.
|
|
masters:
|
|
- host: 192.0.2.1
|
|
port: 5354
|
|
|
|
# PowerDNS Configuration options
|
|
options:
|
|
host: 192.0.2.2
|
|
port: 53
|
|
connection: 'mysql+pymysql://designate:password@127.0.0.1/designate_pdns?charset=utf8'
|
|
|
|
# Optional list of additional IP/Port's for which designate-mdns will send
|
|
# DNS NOTIFY packets to
|
|
also_notifies:
|
|
- host: 192.0.2.4
|
|
port: 53
|
|
|
|
- name: pool-2
|
|
# The name is immutable. There will be no option to change the name after
|
|
# creation and the only way will to change it will be to delete it
|
|
# (and all zones associated with it) and recreate it.
|
|
description: Default BIND Pool
|
|
|
|
attributes:
|
|
external: true
|
|
|
|
# List out the NS records for zones hosted within this pool
|
|
ns_records:
|
|
- hostname: ns1-1.example.org.
|
|
priority: 1
|
|
- hostname: ns1-2.example.org.
|
|
priority: 2
|
|
|
|
# List out the nameservers for this pool. These are the actual BIND servers.
|
|
# We use these to verify changes have propagated to all nameservers.
|
|
nameservers:
|
|
- host: 192.0.2.2
|
|
port: 53
|
|
- host: 192.0.2.3
|
|
port: 53
|
|
|
|
# List out the targets for this pool. For BIND, most often, there will be one
|
|
# entry for each BIND server.
|
|
targets:
|
|
- type: bind9
|
|
description: BIND9 Server 1
|
|
|
|
# List out the designate-mdns servers from which BIND servers should
|
|
# request zone transfers (AXFRs) from.
|
|
masters:
|
|
- host: 192.0.2.1
|
|
port: 5354
|
|
|
|
# BIND Configuration options
|
|
options:
|
|
host: 192.0.2.2
|
|
port: 53
|
|
rndc_host: 192.0.2.2
|
|
rndc_port: 953
|
|
rndc_key_file: /etc/designate/rndc.key
|
|
|
|
- type: bind9
|
|
description: BIND9 Server 2
|
|
|
|
# List out the designate-mdns servers from which BIND servers should
|
|
# request zone transfers (AXFRs) from.
|
|
masters:
|
|
- host: 192.0.2.1
|
|
port: 5354
|
|
|
|
# BIND Configuration options
|
|
options:
|
|
host: 192.0.2.3
|
|
port: 53
|
|
rndc_host: 192.0.2.3
|
|
rndc_port: 953
|
|
rndc_key_file: /etc/designate/rndc.key
|
|
|
|
# Optional list of additional IP/Port's for which designate-mdns will send
|
|
# DNS NOTIFY packets to
|
|
also_notifies:
|
|
- host: 192.0.2.4
|
|
port:
|