mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* Improved BIND docs - Fixed highlighting language - Improved markdown formatting - Improved grammar * Fix according to review
This commit is contained in:
committed by
Tom Limoncelli
parent
211add3ec3
commit
efbf04e231
@ -5,15 +5,12 @@ layout: default
|
|||||||
jsId: BIND
|
jsId: BIND
|
||||||
---
|
---
|
||||||
# BIND Provider
|
# BIND Provider
|
||||||
|
This provider maintains a directory with a collection of .zone files.
|
||||||
This provider simply maintains a directory with a collection of .zone files. We currently copy zone files to our production servers and restart bind via
|
|
||||||
a script external to DNSControl.
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
In your credentials file (`creds.json`), you can specify a `directory` where the provider will look for and create zone files. The default is the `zones` directory where dnscontrol is run.
|
In your credentials file (`creds.json`), you can specify a `directory` where the provider will look for and create zone files. The default is the `zones` directory where dnscontrol is run.
|
||||||
|
|
||||||
{% highlight javascript %}
|
{% highlight json %}
|
||||||
{
|
{
|
||||||
"bind": {
|
"bind": {
|
||||||
"directory": "myzones"
|
"directory": "myzones"
|
||||||
@ -21,7 +18,7 @@ In your credentials file (`creds.json`), you can specify a `directory` where the
|
|||||||
}
|
}
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
The BIND provider does not require anything in `creds.json`. It does accept some (optional) metadata via your dns config when you create the provider:
|
The BIND provider does not require anything in `creds.json`. It does accept some optional metadata via your DNS config when you create the provider:
|
||||||
|
|
||||||
{% highlight javascript %}
|
{% highlight javascript %}
|
||||||
var BIND = NewDnsProvider('bind', 'BIND', {
|
var BIND = NewDnsProvider('bind', 'BIND', {
|
||||||
@ -42,5 +39,4 @@ var BIND = NewDnsProvider('bind', 'BIND', {
|
|||||||
})
|
})
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
If you need to customize your SOA or NS records, you can do it with this setup.
|
If you need to customize your SOA or NS records, you can do so with this setup.
|
||||||
|
|
Reference in New Issue
Block a user