PowerDNS
Configuration
To use this provider, add an entry to creds.json with TYPE set to POWERDNS along with your API URL, API Key and Server ID. In most cases the Server id is localhost.
Example:
{
"powerdns": {
"TYPE": "POWERDNS",
"apiKey": "your-key",
"apiUrl": "http://localhost",
"serverName": "localhost"
}
}Metadata
Following metadata are available:
{
'default_ns': [
'a.example.com.',
'b.example.com.'
],
'dnssec_on_create': false,
'zone_kind': 'Native',
}default_nssets the nameserver which are useddnssec_on_createspecifies if DNSSEC should be enabled when creating zoneszone_kindis the type that will be used when creating the zone. Can be one ofNative,MasterorSlave, when not specified it defaults toNative. Please see PowerDNS documentation for explanation of the kinds. Note that these tokens are case-sensitive!soa_edit_apiis the default SOA serial method that is used for zone created with the API Can be one ofDEFAULT,INCREASE,EPOCH,SOA-EDITorSOA-EDIT-INCREASE, default format is YYYYMMDD01. Please see PowerDNS SOA-EDIT-DNSUPDATE documentation for explanation of the kinds. Note that these tokens are case-sensitive!
Usage
An example configuration:
Activation
See the PowerDNS documentation how the API can be enabled.
Last updated