| Parameter | Default | Note |
|---|---|---|
| domain_type | NATIVE | PowerDNS Domain Type |
| also_notify | [] | List of additional IPs to send NOTIFYs to. |
| connection | sqlite:///$pystatepath/powerdns.sqlite | Database connection string |
| connection_debug | 0 | Verbosity of SQL debugging information. 0=None, 100=Everything |
| connection_trace | False | Add python stack traces to SQL as comment strings |
| idle_timeout | 3600 | timeout before idle sql connections are reaped |
| max_retries | 10 | maximum db connection retries during startup. (setting -1 implies an infinite retry count) |
| retry_interval | 10 | interval between retries of opening a sql connection |
| mysql_engine | InnoDB | MySQL engine to use |
| sqlite_synchronous | True | If passed, use synchronous mode for sqlite |
You need to configure PowerDNS to use the MySQL backend.
launch = gmysql
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.
[backend:powerdns]
connection = mysql+pymysql://<username>:<password>@<host>:<port>/<dbname>
$ designate-manage powerdns init
$ designate-manage powerdns sync