2019-03-08 20:47:06 +02:00
|
|
|
---
|
|
|
|
title: "DNSimple"
|
|
|
|
date: 2019-03-03T16:39:46+01:00
|
|
|
|
draft: false
|
|
|
|
slug: dnsimple
|
2022-06-17 00:25:42 +02:00
|
|
|
dnsprovider:
|
|
|
|
since: "v0.3.0"
|
|
|
|
code: "dnsimple"
|
|
|
|
url: "https://dnsimple.com/"
|
2019-03-08 20:47:06 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/dnsimple/dnsimple.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
|
|
|
|
|
|
|
|
Configuration for [DNSimple](https://dnsimple.com/).
|
|
|
|
|
|
|
|
|
|
|
|
<!--more-->
|
|
|
|
|
|
|
|
- Code: `dnsimple`
|
2022-06-17 00:25:42 +02:00
|
|
|
- Since: v0.3.0
|
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
2020-05-10 17:22:48 +02:00
|
|
|
Here is an example bash command using the DNSimple provider:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
DNSIMPLE_OAUTH_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz \
|
2022-06-17 00:25:42 +02:00
|
|
|
lego --email you@example.com --dns dnsimple --domains my.example.org run
|
2020-05-10 17:22:48 +02:00
|
|
|
```
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Credentials
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|-----------------------|-------------|
|
|
|
|
| `DNSIMPLE_OAUTH_TOKEN` | OAuth token |
|
|
|
|
|
2019-03-18 18:42:54 +02:00
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2022-06-17 00:25:42 +02:00
|
|
|
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
|
2019-03-18 18:42:54 +02:00
|
|
|
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
## Additional Configuration
|
|
|
|
|
|
|
|
| Environment Variable Name | Description |
|
|
|
|
|--------------------------------|-------------|
|
2020-05-10 17:22:48 +02:00
|
|
|
| `DNSIMPLE_BASE_URL` | API endpoint URL |
|
2019-03-08 20:47:06 +02:00
|
|
|
| `DNSIMPLE_POLLING_INTERVAL` | Time between DNS propagation check |
|
|
|
|
| `DNSIMPLE_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
|
|
|
|
| `DNSIMPLE_TTL` | The TTL of the TXT record used for the DNS challenge |
|
|
|
|
|
2019-03-18 18:42:54 +02:00
|
|
|
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
|
2022-06-17 00:25:42 +02:00
|
|
|
More information [here]({{< ref "dns#configuration-and-credentials" >}}).
|
2019-03-18 18:42:54 +02:00
|
|
|
|
2020-05-10 17:22:48 +02:00
|
|
|
## Description
|
|
|
|
|
|
|
|
`DNSIMPLE_BASE_URL` is optional and must be set to production (https://api.dnsimple.com).
|
|
|
|
if `DNSIMPLE_BASE_URL` is not defined or empty, the production URL is used by default.
|
|
|
|
|
|
|
|
While you can manage DNS records in the [DNSimple Sandbox environment](https://developer.dnsimple.com/sandbox/),
|
2023-07-29 12:59:24 +02:00
|
|
|
DNS records will not resolve, and you will not be able to satisfy the ACME DNS challenge.
|
2020-05-10 17:22:48 +02:00
|
|
|
|
|
|
|
To authenticate you need to provide a valid API token.
|
|
|
|
HTTP Basic Authentication is intentionally not supported.
|
|
|
|
|
|
|
|
### API tokens
|
|
|
|
|
|
|
|
You can [generate a new API token](https://support.dnsimple.com/articles/api-access-token/) from your account page.
|
2023-07-29 12:59:24 +02:00
|
|
|
Only Account API tokens are supported, if you try to use a User API token you will receive an error message.
|
2019-03-08 20:47:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## More information
|
|
|
|
|
|
|
|
- [API documentation](https://developer.dnsimple.com/v2/)
|
|
|
|
- [Go client](https://github.com/dnsimple/dnsimple-go)
|
|
|
|
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|
|
|
|
<!-- providers/dns/dnsimple/dnsimple.toml -->
|
|
|
|
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
|