Configure kolla-ansible
#echo 'designate_tag: "7.0.1.2"' >> /etc/kolla/globals.yml
sed -i 's/[#]dns_interface:/dns_interface:/g' /etc/kolla/globals.yml
sed -i 's/[#]enable_designate: .*/enable_designate: "yes"/g' /etc/kolla/globals.yml
sed -i 's/[#]enable_horizon_designate:/enable_horizon_designate:/g' /etc/kolla/globals.yml
sed -i 's/[#]designate_ns_record: .*/designate_ns_record: "pool.{{ os_environment }}.example.com"/g' /etc/kolla/globals.yml
Configure pool
mkdir -p /etc/kolla/config/foo/designate
/etc/kolla/config/foo/designate/pools.yaml
- name: default-bind
description: Default BIND9 Pool
attributes: {}
ns_records:
- hostname: ns1.dev.i.example.com.
priority: 1
nameservers:
- host: 10.0.4.45
port: 53
targets:
- type: bind9
description: BIND9 Server 1
masters:
- host: 10.0.4.135
port: 5354
options:
host: 10.0.4.45
port: 53
rndc_host: 10.0.4.45
rndc_port: 953
rndc_key_file: /etc/designate/rndc.key
Deploy Designate container