mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Explain nameservers vs ns (#608)
This commit is contained in:
@@ -17,8 +17,8 @@ This function will return the name as a string so that you may assign it to a va
|
||||
{% include startExample.html %}
|
||||
{% highlight js %}
|
||||
var REGISTRAR = NewRegistrar("name.com", "NAMEDOTCOM");
|
||||
var r53 = NewDnsProvider("R53","ROUTE53");
|
||||
var R53 = NewDnsProvider("r53", "ROUTE53");
|
||||
|
||||
D("example.com", REGISTRAR, DnsProvider(r53), A("@","1.2.3.4"));
|
||||
D("example.com", REGISTRAR, DnsProvider(R53), A("@","1.2.3.4"));
|
||||
{%endhighlight%}
|
||||
{% include endExample.html %}
|
||||
{% include endExample.html %}
|
||||
|
||||
Reference in New Issue
Block a user