mushrowan/tocadns

qhello

★ 0Forks 0GoGitHub ↗Compare

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

Tocadns module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with \tocadns.

Caddy module name

dns.providers.tocadns

Config examples

To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:

{
	"module": "acme",
	"challenges": {
		"dns": {
			"provider": {
				"name": "tocadns",
				"api_token": "YOUR_PROVIDER_API_TOKEN",
				"api_host": "YOUR_API_HOST"
			}
		}
	}
}

or with the Caddyfile:

# globally
{
	acme_dns tocadns {
		api_token YOUR_API_TOKEN
		api_host YOUR API HOST
	}
}
# one site
tls {
	dns tocadns ...
}

Contributors

mushrowan

Issues