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
@@ -20,8 +20,9 @@ Example:
|
||||
This provider does not recognize any special metadata fields unique to Packetframe.
|
||||
|
||||
## Usage
|
||||
An example `dnsconfig.js` configuration:
|
||||
An example configuration:
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
var REG_NONE = NewRegistrar("none");
|
||||
var DSP_PACKETFRAME = NewDnsProvider("packetframe");
|
||||
@@ -30,3 +31,4 @@ D("example.tld", REG_NONE, DnsProvider(DSP_PACKETFRAME),
|
||||
A("test", "1.2.3.4")
|
||||
);
|
||||
```
|
||||
{% endcode %}
|
||||
|
Reference in New Issue
Block a user