mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: The Javascript code examples are no longer tied to a DNS provider (#2443)
This commit is contained in:
committed by
GitHub
parent
5b3bb312ea
commit
8656ffdbd5
@@ -14,7 +14,7 @@ NS records are currently a special case, and do not inherit from `DefaultTTL`. S
|
||||
|
||||
{% code title="dnsconfig.js" %}
|
||||
```javascript
|
||||
D("example.com", REG_MY_PROVIDER, DnsProvider("R53"),
|
||||
D("example.com", REG_MY_PROVIDER, DnsProvider(DSP_MY_PROVIDER),
|
||||
DefaultTTL("4h"),
|
||||
A("@","1.2.3.4"), // uses default
|
||||
A("foo", "2.3.4.5", TTL(600)) // overrides default
|
||||
|
Reference in New Issue
Block a user