designate/doc/source/backends/pdns4.rst

1.7 KiB

PDNS4 Backend

PDNS4 Configuration

The version PowerDNS in Ubuntu Xenial is pdns4. This has a different DB schema, and is incompatible with the legacy PowerDNS driver. In PDNS 4 the API was marked stable, and this is what we will use.

You will need to configure PowerDNS, and its database before perfoming these steps.

You will need to use a database backend for PowerDNS's API to function.

See PowerDNS Docs for details.

  1. Enable the API in the pdns.conf file.
webserver=yes
api=yes
api-key=changeme
  1. Configure the PowerDNS Backend using this sample target snippet

sample_yaml_snippets/pdns4.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