designate/doc/source/backends/powerdns.rst

1.8 KiB

PowerDNS Backend

PowerDNS Configuration

You need to configure PowerDNS to use the MySQL backend.

  1. First enable the MySQL backend:
launch = gmysql
  1. 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.

  1. Configure the PowerDNS Backend using this sample target snippet

sample_yaml_snippets/powerdns.yaml

  1. 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

  1. Setup the database schema.
$ designate-manage powerdns sync <pool_id>

See designate_manage_powerdns for further details on the designate-manage powerdns command

  1. Restart PowerDNS and it should be ready to serve queries using the MySQL database as the backing store.