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

Release 3.0.0 Candidate (#699)

Final changes before V3.0.0 release

* Remove old Gandi.  Fixes #575
* Many cleanups
* go mod tidy && go mod vendor

* integration_test.go: Output subtest name

* Cleanups

* integration_test.go: Description should include sub-test name
* Add a whitespace test to js/parse_tests/017-txt.js

* Cloudflare strips whitespace from end of TXT

* Fixes https://github.com/StackExchange/dnscontrol/issues/700

* Whitespace at end of TXT records

Name.com strips the whitespace from the end of a TXT record. There's
nothing we can do other than file a bug.

* Fixes https://github.com/StackExchange/dnscontrol/issues/701
This commit is contained in:
Tom Limoncelli
2020-03-22 13:38:37 -04:00
committed by GitHub
parent 5db21dcdec
commit 1b5935d1af
74 changed files with 153 additions and 4469 deletions

View File

@@ -1,58 +0,0 @@
---
name: Gandi
title: Gandi Provider
layout: default
jsId: GANDI
---
# Gandi Provider
There are two providers for Gandi:
1. `GANDI` uses the v3 API and is able to act as a registrar provider
and a DNS provider. It is not able to handle domains that have
migrated to the new LiveDNS API. You need to get the API key from
the [v4 interface][].
2. `GANDI-LIVEDNS` uses the LiveDNS API and is only able to act as a
DNS provider. You need to get the API key from the [v5 interface][].
[v4 interface]: https://v4.gandi.net
[v5 interface]: https://v5.gandi.net
## Configuration
In your credentials file you must provide your Gandi.net API key:
{% highlight json %}
{
"gandi": {
"apikey": "your-gandi-key"
}
}
{% endhighlight %}
## Metadata
This provider does not recognize any special metadata fields unique to Gandi.
## Usage
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")
);
{% 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.
## Common errors
This is the error we see when someone uses GANDI instead of GANDI-LIVEDNS.
```
Error getting corrections: error: "Error on object : OBJECT_ZONE (CAUSE_NOTFOUND) [no such zone (id: 0)]" code: 581042
```

View File

@@ -2,7 +2,7 @@
name: Gandi_v5
title: Gandi_v5 Provider
layout: default
jsId: GANDI
jsId: GANDI_V5
---
# Gandi_v5 Provider