-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add DNS provider for VinylDNS (#1384)
- Loading branch information
Showing
17 changed files
with
1,006 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
--- | ||
title: "VinylDNS" | ||
date: 2019-03-03T16:39:46+01:00 | ||
draft: false | ||
slug: vinyldns | ||
--- | ||
|
||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> | ||
<!-- providers/dns/vinyldns/vinyldns.toml --> | ||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> | ||
|
||
Since: v4.4.0 | ||
|
||
Configuration for [VinylDNS](https://www.vinyldns.io). | ||
|
||
|
||
<!--more--> | ||
|
||
- Code: `vinyldns` | ||
|
||
Here is an example bash command using the VinylDNS provider: | ||
|
||
```bash | ||
VINYLDNS_ACCESS_KEY=xxxxxx \ | ||
VINYLDNS_SECRET_KEY=yyyyy \ | ||
VINYLDNS_HOST=https://api.vinyldns.example.org:9443 \ | ||
lego --email myemail@example.com --dns vinyldns --domains my.example.org run | ||
``` | ||
|
||
|
||
|
||
|
||
## Credentials | ||
|
||
| Environment Variable Name | Description | | ||
|-----------------------|-------------| | ||
| `VINYLDNS_ACCESS_KEY` | The VinylDNS API key | | ||
| `VINYLDNS_HOST` | The VinylDNS API URL | | ||
| `VINYLDNS_SECRET_KEY` | The VinylDNS API Secret key | | ||
|
||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. | ||
More information [here](/lego/dns/#configuration-and-credentials). | ||
|
||
|
||
## Additional Configuration | ||
|
||
| Environment Variable Name | Description | | ||
|--------------------------------|-------------| | ||
| `VINYLDNS_POLLING_INTERVAL` | Time between DNS propagation check | | ||
| `VINYLDNS_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation | | ||
| `VINYLDNS_TTL` | The TTL of the TXT record used for the DNS challenge | | ||
|
||
The environment variable names can be suffixed by `_FILE` to reference a file instead of a value. | ||
More information [here](/lego/dns/#configuration-and-credentials). | ||
|
||
The vinyldns integration makes use of dotted hostnames to ease permission management. | ||
Users are required to have DELETE ACL level or zone admin permissions on the VinylDNS zone containing the target host. | ||
|
||
|
||
|
||
## More information | ||
|
||
- [API documentation](https://www.vinyldns.io/api/) | ||
- [Go client](https://github.com/vinyldns/go-vinyldns) | ||
|
||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> | ||
<!-- providers/dns/vinyldns/vinyldns.toml --> | ||
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
providers/dns/vinyldns/fixtures/recordSetChange-create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"changeType": "Create", | ||
"created": "2021-03-04T00:49:00Z", | ||
"id": "27ba5c17-a217-4e8d-b662-b1dc8bee588f", | ||
"recordSet": { | ||
"account": "", | ||
"created": "2021-03-04T00:49:00Z", | ||
"id": "10000000-0000-0000-0000-000000000000", | ||
"name": "_acme-challenge.host", | ||
"records": [ | ||
{ | ||
"text": "O2UTPYgIzRNt5N27EVcNKDxv6goSF7ru3zi3chZXKUw" | ||
} | ||
], | ||
"status": "Active", | ||
"ttl": 30, | ||
"type": "TXT", | ||
"updated": "2021-03-04T00:49:00Z", | ||
"zoneId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"singleBatchChangeIds": [], | ||
"status": "Complete", | ||
"userId": "50000000-0000-0000-0000-000000000000", | ||
"zone": { | ||
"account": "system", | ||
"acl": { | ||
"rules": [] | ||
}, | ||
"adminGroupId": "40000000-0000-0000-0000-000000000000", | ||
"created": "2020-07-15T21:15:36Z", | ||
"email": "Ops@company.invalid", | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"isTest": false, | ||
"latestSync": "2020-07-15T21:15:36Z", | ||
"name": "example.com.", | ||
"shared": false, | ||
"status": "Active", | ||
"updated": "2021-03-03T18:02:47Z" | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
providers/dns/vinyldns/fixtures/recordSetChange-delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"changeType": "Delete", | ||
"created": "2021-03-04T00:49:00Z", | ||
"id": "27ba5c17-a217-4e8d-b662-b1dc8bee588f", | ||
"recordSet": { | ||
"account": "", | ||
"created": "2021-03-04T00:49:00Z", | ||
"id": "10000000-0000-0000-0000-000000000000", | ||
"name": "_acme-challenge.host", | ||
"records": [ | ||
{ | ||
"text": "O2UTPYgIzRNt5N27EVcNKDxv6goSF7ru3zi3chZXKUw" | ||
} | ||
], | ||
"status": "Active", | ||
"ttl": 30, | ||
"type": "TXT", | ||
"updated": "2021-03-04T00:49:00Z", | ||
"zoneId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"singleBatchChangeIds": [], | ||
"status": "Complete", | ||
"userId": "50000000-0000-0000-0000-000000000000", | ||
"zone": { | ||
"account": "system", | ||
"acl": { | ||
"rules": [] | ||
}, | ||
"adminGroupId": "40000000-0000-0000-0000-000000000000", | ||
"created": "2020-07-15T21:15:36Z", | ||
"email": "Ops@company.invalid", | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"isTest": false, | ||
"latestSync": "2020-07-15T21:15:36Z", | ||
"name": "example.com.", | ||
"shared": false, | ||
"status": "Active", | ||
"updated": "2021-03-03T18:02:47Z" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"changeType": "Delete", | ||
"created": "2021-03-04T16:21:54Z", | ||
"id": "20000000-0000-0000-0000-000000000000", | ||
"recordSet": { | ||
"account": "", | ||
"created": "2021-03-04T16:21:54Z", | ||
"id": "11000000-0000-0000-0000-000000000000", | ||
"name": "_acme-challenge.host", | ||
"records": [ | ||
{ | ||
"text": "O2UTPYgIzRNt5N27EVcNKDxv6goSF7ru3zi3chZXKUw" | ||
} | ||
], | ||
"status": "Pending", | ||
"ttl": 30, | ||
"type": "TXT", | ||
"zoneId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"singleBatchChangeIds": [], | ||
"status": "Pending", | ||
"userId": "50000000-0000-0000-0000-000000000000", | ||
"zone": { | ||
"account": "system", | ||
"acl": { | ||
"rules": [] | ||
}, | ||
"adminGroupId": "40000000-0000-0000-0000-000000000000", | ||
"created": "2020-07-15T21:15:36Z", | ||
"email": "Ops@company.invalid", | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"isTest": false, | ||
"latestSync": "2020-07-15T21:15:36Z", | ||
"name": "example.com.", | ||
"shared": false, | ||
"status": "Active", | ||
"updated": "2021-03-03T18:02:47Z" | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
providers/dns/vinyldns/fixtures/recordSetUpdate-create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"changeType": "Create", | ||
"created": "2021-03-04T16:21:54Z", | ||
"id": "20000000-0000-0000-0000-000000000000", | ||
"recordSet": { | ||
"account": "", | ||
"created": "2021-03-04T16:21:54Z", | ||
"id": "11000000-0000-0000-0000-000000000000", | ||
"name": "_acme-challenge.host", | ||
"records": [ | ||
{ | ||
"text": "O2UTPYgIzRNt5N27EVcNKDxv6goSF7ru3zi3chZXKUw" | ||
} | ||
], | ||
"status": "Pending", | ||
"ttl": 30, | ||
"type": "TXT", | ||
"zoneId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"singleBatchChangeIds": [], | ||
"status": "Pending", | ||
"userId": "50000000-0000-0000-0000-000000000000", | ||
"zone": { | ||
"account": "system", | ||
"acl": { | ||
"rules": [] | ||
}, | ||
"adminGroupId": "40000000-0000-0000-0000-000000000000", | ||
"created": "2020-07-15T21:15:36Z", | ||
"email": "Ops@company.invalid", | ||
"id": "00000000-0000-0000-0000-000000000000", | ||
"isTest": false, | ||
"latestSync": "2020-07-15T21:15:36Z", | ||
"name": "example.com.", | ||
"shared": false, | ||
"status": "Active", | ||
"updated": "2021-03-03T18:02:47Z" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"maxItems": 100, | ||
"nameSort": "ASC", | ||
"recordNameFilter": "_acme-challenge.host", | ||
"recordSets": [] | ||
} |
Oops, something went wrong.