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

DOCS: Removed comments from dnsconfig.js code examples (#2386)

This commit is contained in:
Jeffrey Cafferata
2023-05-21 19:49:35 +02:00
committed by GitHub
parent 89b9f1b641
commit cfcc451089
3 changed files with 2 additions and 10 deletions

View File

@@ -73,7 +73,6 @@ You are free to decide if you want to use both of our provider technology or jus
{% code title="dnsconfig.js" %}
```javascript
// Providers:
var REG_HX = NewRegistrar("hexonet");
var DSP_HX = NewDnsProvider("hexonet");
@@ -86,7 +85,6 @@ DEFAULTS(
DefaultTTL(3600)
);
// Domains:
D("abhoster.com", REG_HX, DnsProvider(DSP_HX),
NAMESERVER("ns1.ispapi.net"),
NAMESERVER("ns2.ispapi.net"),

View File

@@ -183,7 +183,6 @@ you're not forced to do that (thank god).
{% code title="dnsconfig.js" %}
```javascript
// Providers:
var REG_LOOPIA = NewRegistrar("loopia");
var DSP_LOOPIA = NewDnsProvider("loopia");
@@ -195,7 +194,6 @@ DEFAULTS(
DefaultTTL(3600)
);
// Domains:
D("example.com", REG_LOOPIA, DnsProvider(DSP_LOOPIA),
//NAMESERVER("ns1.loopia.se."), //default
//NAMESERVER("ns2.loopia.se."), //default