1
0
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:
Tom Limoncelli
2020-01-29 13:47:32 -05:00
committed by GitHub
parent 92b51dbc65
commit 36a05608e0
5 changed files with 70 additions and 5 deletions

View File

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