PowerDNS Backend

Designate Configuration

PowerDNS Configuration

You need to configure PowerDNS to use the MySQL backend.

  1. First enable the MySQL backend:

    launch = gmysql

  2. 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 options for designate-central - specifaclly “connection” to point to your MySQL database:

    [backend:powerdns]
    connection = mysql://<username>:<password>@<host>:<port>/<dbname>
    
  2. Setup the database schema.

$ designate-manage powerdns init
$ designate-manage powerdns sync
  1. Restart PowerDNS and it should be ready to serve queries using the MySQL database as the backing store.

PowerDNS deployment as hidden Master

One deployment scenario can be that the PowerDNS backend will be used as a “hidden” Master DNS for other DNS servers to consume via AXFR.

Say you have 10.0.0.1 and 10.0.0.2 as slaves then configure the backend as follows in addition to other options:

[backend:powernds]
domain_type = MASTER
also_notify = 10.0.0.1,10.0.0.2

Note

This should mostly be used in connection with another backend acting as slave.

Incubated Project

Table Of Contents

Previous topic

BIND9 Backend

Next topic

Integrations

This Page