forked from devel/PowerDNS-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
abh edited this page Apr 29, 2012
·
3 revisions
The configuration file is called powerdns-api.conf
and should be located in the application root directory. The location can also be specified with the POWERDNS_API_CONFIG
environment variable. The file is in strict JSON format.
The database parameters specify how to connect to the MySQL database, the secret is currently unused but will eventually be used to generate cookie tokens etc, so make sure to change it to something long and random.
{
"secret": "this-needs-to-be-changed-foo!",
"database": {
"database": "pdns",
"user": "root",
"password": null,
"host": "localhost"
}
}