DOC: Improve internetbs doc (#603)

This commit is contained in:
Tom Limoncelli 2020-01-28 07:44:52 -05:00 committed by GitHub
parent 2d88d81392
commit d19eedaa63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 %}