mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2026-01-11 02:34:33 +08:00
Merge branch 'main' into tlim_fmt
This commit is contained in:
commit
1871889e40
2 changed files with 10 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
<br>Can be one of `Native`, `Master` or `Slave`, when not specified it defaults to `Native`.
|
||||
<br>Please see [PowerDNS documentation](https://doc.powerdns.com/authoritative/modes-of-operation.html) for explanation of the kinds.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue