mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-01-11 18:08:57 +08:00
DOC: Improve internetbs doc (#603)
This commit is contained in:
parent
2d88d81392
commit
d19eedaa63
1 changed files with 3 additions and 3 deletions
|
@ -28,10 +28,10 @@ Example Javascript:
|
|||
|
||||
{% highlight js %}
|
||||
var REG_INTERNETBS = NewRegistrar('internetbs', 'INTERNETBS');
|
||||
var GCLOUD = NewDnsProvider("gcloud", "GCLOUD"); // Any provider
|
||||
|
||||
D("example.tld", REG_INTERNETBS, DnsProvider(GCLOUD),
|
||||
A("test","1.2.3.4")
|
||||
D("example.com", REG_INTERNETBS,
|
||||
NNAMESERVER("ns1.example.com."),
|
||||
NNAMESERVER("ns2.example.com."),
|
||||
);
|
||||
{% endhighlight %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue