PowerDNS Provider

Configuration

In your credentials file, you must provide your API URL, API Key and Server ID.

In most cases the Server id is localhost

{
  "powerdns": {
    "apiUrl": "http://localhost",
    "apiKey": "your-key",
    "serverName": "localhost"
  }
}

Metadata

Following metadata are available:

{
    'default_ns': [
        'a.example.com.',
        'b.example.com.'
    ],
    'dnssec_on_create': false
}

Usage

Example Javascript:

var REG_NONE = NewRegistrar('none', 'NONE')
var POWERDNS = NewDnsProvider("powerdns", "POWERDNS");

D("example.tld", REG_NONE, DnsProvider(POWERDNS),
    A("test","1.2.3.4")
);

Activation

See the PowerDNS documentation how the API can be enabled.