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

Improved consistency of provider documentation (#222)

- Fixed indentation
- Use same naming scheme for all examples
  (i.e. all caps for provider, REG prefix for registrar)
- Use REG_NONE as registrar when provider does not provide it
- Use example.tld for example domain
- Use 1.2.3.1/24 IP range for examples
- A few spelling fixes
This commit is contained in:
Patrick G
2017-10-11 08:33:52 -04:00
committed by Tom Limoncelli
parent a202b8ae53
commit 31bdb65720
11 changed files with 53 additions and 50 deletions

View File

@@ -29,9 +29,10 @@ This provider does not recognize any special metadata fields unique to ns1.
Example javascript:
{% highlight js %}
var REG_NONE = NewRegistrar('none', 'NONE')
var NS1 = NewDnsProvider("ns1", "NS1");
D("example.tld", MY_REGISTRAR, DnsProvider(NS1),
D("example.tld", REG_NONE, DnsProvider(NS1),
A("test","1.2.3.4")
);
{% endhighlight %}