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

Documentation: Add Gandi registrar to example (#335)

This commit is contained in:
Ben Firshman
2018-03-17 12:43:57 +00:00
committed by Tom Limoncelli
parent 7486ee4ace
commit cd58d26545

View File

@ -25,6 +25,7 @@ Example Javascript:
{% highlight js %}
var GANDI = NewDnsProvider("gandi", "GANDI");
var REG_GANDI = NewRegistrar("gandi", "GANDI");
D("example.tld", REG_GANDI, DnsProvider(GANDI),
A("test","1.2.3.4")
@ -32,4 +33,4 @@ D("example.tld", REG_GANDI, DnsProvider(GANDI),
{% endhighlight %}
## New domains
If a domain does not exist in your Gandi account, DNSControl will *not* automatically add it with the `create-domains` command. You'll need to do that via the control panel manually.
If a domain does not exist in your Gandi account, DNSControl will *not* automatically add it with the `create-domains` command. You'll need to do that via the control panel manually.