1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DOCS: consistency in code examples in language reference (#2394)

This commit is contained in:
Jeffrey Cafferata
2023-05-24 22:09:22 +02:00
committed by GitHub
parent 0b7dabacc8
commit e97cf01744
59 changed files with 691 additions and 548 deletions

View File

@@ -11,11 +11,11 @@ Includes all records from a given domain
{% code title="dnsconfig.js" %}
```javascript
D("example.com!external", REGISTRAR, DnsProvider(R53),
D("example.com!external", REG_MY_PROVIDER, DnsProvider(R53),
A("test", "8.8.8.8")
);
D("example.com!internal", REGISTRAR, DnsProvider(R53),
D("example.com!internal", REG_MY_PROVIDER, DnsProvider(R53),
INCLUDE("example.com!external"),
A("home", "127.0.0.1")
);