Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 894 Bytes

README.md

File metadata and controls

51 lines (42 loc) · 894 Bytes

LuaDNS module for Caddy

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

Caddy module name

dns.providers.luadns

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": "luadns",
				"email": "YOUR_LUADNS_EMAIL",
				"api_key": "YOUR_LUADNS_API_KEY"
			}
		}
	}
}

or with the Caddyfile:

# globally
{
	acme_dns luadns {
		email   <your_luadns_email>
		api_key <your_luadns_api_key>
	}
}
# one site
tls {
	dns luadns {
		email   <your_luadns_email>
		api_key <your_luadns_api_key>
	}
}