Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 1.34 KB

README.md

File metadata and controls

70 lines (55 loc) · 1.34 KB

Domainname.shop DNS module for Caddy

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

Caddy module name

dns.providers.domainnameshop

Known issues

This provider may have slow propagation time for dns records, it's recommended to add a propagation_delay of at least 60s for reliable challenges.

This is noted in the examples for the caddyfile.

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": "domainnameshop",
				"api_token": "DOMAINNAMESHOP_API_TOKEN",
				"api_secret": "DOMAINNAMESHOP_API_SECRET"
			}
		}
	}
}

or with the Caddyfile:

globally

{
	acme_dns domainnameshop <api_token> <api_secret>
}

one site

example.com {
	respond "Hello World" 
	tls {
		dns domainnameshop <api_token> <api_secret>
		propagation_delay 60s
	}
}

reusable import

(dnschallenge) {
	tls {
		dns domainnameshop <api_token> <api_secret>
		propagation_delay 60s
	}
}

example.com {
	respond "Hello World" 
	import dnschallenge
}