1.8 KiB
1.8 KiB
PowerDNS Backend
PowerDNS Configuration
You need to configure PowerDNS to use the MySQL backend.
- First enable the MySQL backend:
launch = gmysql
- Configure the MySQL database settings:
gmysql-host=<host>
gmysql-port=
gmysql-dbname=<dbname>
gmysql-user=<username>
gmysql-password=<password>
gmysql-dnssec=yes
#gmysql-socket=<socket path>
Note
PowerDNS can connect via socket or host/port.
- Configure the PowerDNS Backend using this sample target snippet
sample_yaml_snippets/powerdns.yaml
- Then update the pools in designate
$ designate-manage pool update
See designate_manage_pool
for further details on the
designate-manage pool
command, and pools
for information about
the yaml file syntax
- Setup the database schema.
$ designate-manage powerdns sync <pool_id>
See designate_manage_powerdns
for further details on the
designate-manage powerdns
command
- Restart PowerDNS and it should be ready to serve queries using the MySQL database as the backing store.