This commit moves the installation of bind9 to the tests, leaving the
installation/configuration of the desired DNS server to the deployer.
We can eventually use a role to handle the installation/configuration
of bind, but some further research will need to be done to isolate
the best role.
Additionally, this commit adds some very basic tests that validate the
Designate API. Next steps involve using designate-tempest-plugin to
handle this.
NOTE: No relnote is being added for the removal of bind9 as no valid
configuration was being dropped for bind9, meaning we had a
non-functional DNS server as far as designate was concerned.
Change-Id: I5a21e32f8ad885afd5b4a04d2ef348cd65d0999b
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
- name: default
|
|
# 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 BIND9 Pool
|
|
|
|
attributes: {}
|
|
|
|
# List out the NS records for zones hosted within this pool
|
|
ns_records:
|
|
- hostname: ns1-1.example.org.
|
|
priority: 1
|
|
|
|
# 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: 127.0.0.1
|
|
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: 127.0.0.1
|
|
port: 5354
|
|
|
|
# BIND Configuration options
|
|
options:
|
|
host: 127.0.0.1
|
|
port: 53
|
|
rndc_host: 127.0.0.1
|
|
rndc_port: 953
|
|
rndc_key_file: /etc/bind/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: 53
|