-
Notifications
You must be signed in to change notification settings - Fork 2
Prepare for designate installation
Before deploying RPC Designate, you need to configure a few important components, including a DNS server, ports, and a Remote Name Daemon Control (RNDC) key. Then, create a DNS servers pool as described in :ref:`configure-dns-server-pool` and then, run the Designate deployment script.
Although Designate provides drivers to support different DNS backends, RPC supports BIND 9 only. You can either use an existing DNS deployment or set up new DNS nodes to work with Designate.
To set up a DNS backend, follow these steps:
-
Enable the creation of new availability zone by configuring the following BIND 9 option:
allow-new-zones yes;
-
Enable Designate to communicate with BIND 9 by creating and configuring an
rndc.key
:include "/etc/bind/rndc.key"; controls { inet <listen address> port 953 allow { <ip addresses of infra nodes> ; } keys {"rndc-key"; }; inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys {"rndc-key"; }; };
Fore more information, see :ref:`designate-rndc`.
Designate must communicate bidirectionally with the infrastructure nodes that run the Designate containers and the DNS servers.
Server | Port | Description |
---|---|---|
Infrastructure nodes | 5354/UDP |
The 5354/UDP must be open on all infrastructure nodes to allow
ingress traffic. This port is used for the answers zone transfer
(AXDR) requests from the DNS servers to the designate mini DNS
( DNS -> OpenStack infrastructure nodes. |
DNS servers |
|
DNS servers need the following ports to be open:
OpenStack Infra nodes -> DNS. |
RNDC enables configuration for DNS servers with the BIND 9 backend. In different operating system, the RNDC key file is either created automatically or you need to manually generate it.
The following table describes RNDC files locations and procedures for different operating systems.
Operating system | Description |
---|---|
Ubuntu | The BIND 9 package automatically generates an rndc.key
file in the /etc/bind directory. |
CentOS/RHEL |
You need to generate the key file by using the rndc-confgen -a System response: wrote key file "/etc/rndc.key" Copy the key file to the following location on the deployment host: /etc/openstack_deploy/rndc.key |