Commit graph

43 commits

Author SHA1 Message Date
Ludovic Fernandez
aeec5be129
chore: refactor clients () 2023-05-05 09:49:38 +02:00
Ludovic Fernandez
e638d79643
chore: replace GetRecord by GetChallengeInfo () 2023-03-07 09:39:05 +01:00
Ludovic Fernandez
9ec5c8a18f
fix: return an error when extracting record name () 2022-11-28 17:53:13 +00:00
Ludovic Fernandez
6cc21f2753
fix: CNAME support () 2022-11-25 18:12:21 +01:00
Dominik Menke
85f616f85b
docs: refactoring and cleanup () 2022-06-17 00:25:42 +02:00
Matt Sporleder
e83220c1c5
dnsimple: add debug option () 2022-04-26 00:08:38 +02:00
Ludovic Fernandez
52ad9d72e8
chore: update linter () 2021-03-04 19:16:59 +00:00
Ludovic Fernandez
1af9299a83
doc: add examples and fix some typos () 2020-11-27 20:40:44 +01:00
Fernandez Ludovic
2582acc932 feat: changes module version. 2020-09-02 20:38:01 +02:00
Ludovic Fernandez
8630274c31
arvandcloud: fix record name. () 2020-06-27 14:28:59 +02:00
Simone Carletti
f13a88feb5
dnsimple: Upgrade client to 0.60.0 () 2020-05-10 17:22:48 +02:00
Ludovic Fernandez
6043c9347c
chore: update linter. () 2020-05-08 19:35:25 +02:00
Ludovic Fernandez
403070dd9b
Standardization of the definition of env vars. () 2020-03-11 23:51:10 +01:00
Ludovic Fernandez
2da1ce06ea
chore: wrap errors. () 2020-02-27 19:14:45 +01:00
Ludovic Fernandez
635b9ac93d
chore: update linter. () 2019-10-25 01:27:40 +02:00
Ludovic Fernandez
cf879d0b3c
fix: typos. () 2019-08-20 18:40:41 +02:00
Fernandez Ludovic
e7a90b9471 chore: migrate to go module (v3.0.0)
- chore: update dependencies: use version with go modules.
- chore: remove dep.
- chore: update backoff imports.
- chore: init go module.
- chore: update CI.
- chore: mod v3
- chore: update docker image.
2019-08-07 14:07:47 +02:00
Ludovic Fernandez
7c680a2438
Adds 'Since' to DNS providers documentation () 2019-04-17 21:32:38 +02:00
Ludovic Fernandez
3edb75872d
chore: migrate to new org. () 2019-03-11 17:56:48 +01:00
Ludovic Fernandez
219222fdda
Use canonical imports ()
* fix: challenge are not required for revoke.
2019-03-11 16:54:35 +01:00
Ludovic Fernandez
62fea05e21
Automatic generation of documentation ()
* generate a detailed CLI help
* generate a documentation site
* new readme
2019-03-08 19:47:06 +01:00
Ludovic Fernandez
42941ccea6
Refactor the core of the lib ()
- Packages
- Isolate code used by the CLI into the package `cmd`
- (experimental) Add e2e tests for HTTP01, TLS-ALPN-01 and DNS-01, use [Pebble](https://github.com/letsencrypt/pebble) and [challtestsrv](https://github.com/letsencrypt/boulder/tree/master/test/challtestsrv) 
- Support non-ascii domain name (punnycode)
- Check all challenges in a predictable order
- No more global exported variables
- Archive revoked certificates
- Fixes revocation for subdomains and non-ascii domains
- Disable pending authorizations
- use pointer for RemoteError/ProblemDetails
- Poll authz URL instead of challenge URL
- The ability for a DNS provider to solve the challenge sequentially
- Check all nameservers in a predictable order
- Option to disable the complete propagation Requirement
- CLI, support for renew with CSR
- CLI, add SAN on renew
- Add command to list certificates.
- Logs every iteration of waiting for the propagation
- update DNSimple client
- update github.com/miekg/dns
2018-12-06 22:50:17 +01:00
Ludovic Fernandez
4d21f8eec1
Add a test helper to manage env vars. () 2018-10-16 17:52:57 +02:00
Ludovic Fernandez
122c354163
Homogenization of the DNS provider tests ()
* refactor: min TTL
* refactor: sandbox.
* refactor: tests homogenization.
* refactor: missing require.
2018-10-12 19:29:18 +02:00
Ludovic Fernandez
21f6cd8a12
dnsimple: fix challenge. () 2018-10-09 18:51:49 +02:00
Matt Farmer
fa455bc037 Add support for reading DNS provider setup from files () 2018-10-06 15:33:15 +02:00
Ludovic Fernandez
ad20bf90ff Migrate to golangci-lint ()
* refactor: linting.

- errcheck
- govet
- golint
- goconst
- spellcheck
- ...

* refactor: migrate from gometalinter to golangci-lint.
2018-09-24 19:07:20 +00:00
Ludovic Fernandez
bba134ce87
Allow to configure TTL, interval and timeout ()
* feat: add GetOrDefaultXXX methods.
* refactor: configuration (alidns).
* refactor: configuration (azure).
* refactor: configuration (auroradns).
* refactor: configuration (bluecat).
* refactor: configuration (cloudflare).
* refactor: configuration (digitalocean).
* refactor: configuration (dnsimple).
* refactor: configuration (dnmadeeasy).
* refactor: configuration (dnspod).
* refactor: configuration (duckdns).
* refactor: configuration (dyn).
* refactor: configuration (exoscale).
* refactor: configuration (fastdns).
* refactor: configuration (gandi).
* refactor: configuration (gandiv5).
* refactor: configuration (gcloud).
* refactor: configuration (glesys).
* refactor: configuration (godaddy).
* refactor: configuration (iij).
* refactor: configuration (lightsail).
* refactor: configuration (linode).
* refactor: configuration (namecheap).
* refactor: configuration (namedotcom).
* refactor: configuration (netcup).
* refactor: configuration (nifcloud).
* refactor: configuration (ns1).
* refactor: configuration (otc).
* refactor: configuration (ovh).
* refactor: configuration (pdns).
* refactor: configuration (rackspace).
* refactor: configuration (rfc2136).
* refactor: configuration (route53).
* refactor: configuration (sakuracloud).
* refactor: configuration (vegadns).
* refactor: configuration (vultr).
2018-09-15 19:07:24 +02:00
Ludovic Fernandez
a1585a7b9a
Review DNS providers ()
* refactor: create log.Infof and log.Warnf
* refactor: review DNS providers.
    - use one `http.Client` by provider instead of one client by request
    - use the same receiver name `d` for all `DNSProvider`
    - use `http.MethodXXX`
* refactor: logger init.
2018-06-21 19:06:16 +02:00
Ludovic Fernandez
c4bbb4b819
Review DNS providers. ()
* refactor: review DNS providers.
2018-06-11 17:32:50 +02:00
Ludovic Fernandez
e7fd871a9c
ACME V2 support () 2018-05-30 19:53:04 +02:00
dajenet
5922ca9269 Fix dnsimple api () 2018-04-15 07:49:13 -06:00
Luca Guidi
7668fe9274 Update error messages for DNSimple provider () 2017-04-04 01:41:49 +02:00
Luca Guidi
e526fb5a1a Use DNSimple official Go client () 2017-03-17 19:40:51 +01:00
JanB
65321943ba Fix: DNSimple passes not-a-FQDN string to FindZoneByFqdn() 2016-04-17 04:43:43 +02:00
LukeHandle
dbad97ebc6 Retry logic for dnsQuery
Added a slice of NS to be used when retrying queries. Also used with FindZoneByFqdn()
Adjusted 2 error messages given to better differentiate the returned error string
2016-04-12 00:24:11 +01:00
xenolf
74c6bbee86
Fix a couple of lint and fmt issues. 2016-04-08 01:21:01 +02:00
xenolf
8512faba3b Merge pull request from LukeHandle/patch-dns-providers
Use zone name when talking to DNS APIs
2016-03-24 09:32:06 +01:00
LukeHandle
20ab8300eb Use zone name when talking to DNS APIs
This should handle multiple zones more efficiently
2016-03-21 00:18:49 +00:00
Brett Vickers
47219adc00 Make DNS provider credential-handling more consistent.
Different DNS providers were handling credentials in different ways.
Some were reading credential environment variables in cli_handlers.go
and then passing them into the NewDNSProvider function, while others
were reading the environment variables within their NewDNSProvider
functions.

This change replaces each DNS challenge's NewDNSProvider function with
two new functions: (1) a NewDNSProvider function that takes no
parameters and uses the environment to read credentials, and (2) a
NewDNSProviderCredentials that takes credentials as parameters.
2016-03-20 11:40:30 -07:00
xenolf
2ae35a755d Rename provider types as provider names are already in the package name. Added package level comments and fixed the name of the interface the providers are importing. 2016-03-11 03:46:09 +01:00
xenolf
9008ec6949 Move functions from dns package back into ACME. 2016-03-11 03:40:28 +01:00
xenolf
b412c67aa6 Move providers out of ACME package. 2016-03-03 01:14:32 +01:00