Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 1000 Bytes

README.md

File metadata and controls

54 lines (44 loc) · 1000 Bytes

Dinahosting module for Caddy

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

Caddy module name

dns.providers.dinahosting

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": "dinahosting",
				"username": "YOUR_PROVIDER_USERNAME",
				"password": "YOUR_PROVIDER_PASSWORD"
			}
		}
	}
}

or with the Caddyfile:

# globally
{
	acme_dns dinahosting {
		username "OUR_PROVIDER_USERNAME"
		password "YOUR_PROVIDER_PASSWORD"
	} 
}
# inside domain block
example.com {
	tls {
		dns dinahosting {
			username "OUR_PROVIDER_USERNAME"
			password "YOUR_PROVIDER_PASSWORD"
		} 
	}	
}