diff --git a/documentation/language-reference/top-level-functions/D.md b/documentation/language-reference/top-level-functions/D.md index 6135402f0..02169ba38 100644 --- a/documentation/language-reference/top-level-functions/D.md +++ b/documentation/language-reference/top-level-functions/D.md @@ -81,7 +81,9 @@ D("example.com", REG_MY_PROVIDER, {no_ns:'true'}, ); ``` -Note that the value `true` is a string. +{% hint style="info" %} +**NOTE**: The value `true` of `no_ns` is a string. +{% endhint %} # Split Horizon DNS diff --git a/documentation/provider/powerdns.md b/documentation/provider/powerdns.md index 568d6378b..81d1dbc5d 100644 --- a/documentation/provider/powerdns.md +++ b/documentation/provider/powerdns.md @@ -2,7 +2,7 @@ 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](https://doc.powerdns.com/authoritative/http-api/index.html). -In most cases the Server id is `localhost`. +In most cases the Server id (`serverName`) is `localhost`. Example: @@ -20,23 +20,24 @@ Example: {% endcode %} ## Metadata -Following metadata are available: +Following provider metadata are available: {% code title="dnsconfig.js" %} ```javascript -{ +var DSP_POWERDNS = NewDnsProvider("pdns", { 'default_ns': [ 'a.example.com.', 'b.example.com.' ], 'dnssec_on_create': false, 'zone_kind': 'Native', -} + 'use_views': true +}); ``` {% endcode %} -- `default_ns` sets the nameserver which are used -- `dnssec_on_create` specifies if DNSSEC should be enabled when creating zones +- `default_ns` sets the nameservers which are used. +- `dnssec_on_create` specifies if DNSSEC should be enabled when creating zones. - `zone_kind` is the type that will be used when creating the zone.
Can be one of `Native`, `Master` or `Slave`, when not specified it defaults to `Native`.
Please see [PowerDNS documentation](https://doc.powerdns.com/authoritative/modes-of-operation.html) for explanation of the kinds.