mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: [GitBook] Added code blocks syntax for dnsconfig.js (#2137)
This commit is contained in:
committed by
GitHub
parent
0bf851ec06
commit
4ad56417c0
@@ -37,6 +37,7 @@ This provider accepts some optional metadata in the NewDnsProvider() call.
|
||||
|
||||
In this example we set the default SOA settings and NS records.
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
var DSP_BIND = NewDnsProvider("bind", {
|
||||
"default_soa": {
|
||||
@@ -55,6 +56,7 @@ var DSP_BIND = NewDnsProvider("bind", {
|
||||
]
|
||||
})
|
||||
```
|
||||
{% endcode %}
|
||||
|
||||
# FYI: SOA Records
|
||||
|
||||
|
Reference in New Issue
Block a user