github.com/caddy-dns/dinahosting


License
MIT
Install
go get github.com/caddy-dns/dinahosting

Documentation

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"
		} 
	}	
}