Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/caddy-dns/template

Template for new DNS provider modules
https://github.com/caddy-dns/template

Last synced: 3 months ago
JSON representation

Template for new DNS provider modules

Awesome Lists containing this project

README

        

**DEVELOPER INSTRUCTIONS:**

- Update module name in go.mod
- Update dependencies to latest versions
- Update name and year in license
- Customize configuration and Caddyfile parsing
- Update godocs / comments (especially provider name and nuances)
- Update README and remove this section

---

\ module for Caddy
===========================

This package contains a DNS provider module for [Caddy](https://github.com/caddyserver/caddy). It can be used to manage DNS records with \.

## Caddy module name

```
dns.providers.provider_name
```

## Config examples

To use this module for the ACME DNS challenge, [configure the ACME issuer in your Caddy JSON](https://caddyserver.com/docs/json/apps/tls/automation/policies/issuer/acme/) like so:

```json
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"name": "provider_name",
"api_token": "YOUR_PROVIDER_API_TOKEN"
}
}
}
}
```

or with the Caddyfile:

```
# globally
{
acme_dns provider_name ...
}
```

```
# one site
tls {
dns provider_name ...
}
```