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.
dns.providers.domainnameshop
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.
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:
{
acme_dns domainnameshop <api_token> <api_secret>
}
example.com {
respond "Hello World"
tls {
dns domainnameshop <api_token> <api_secret>
propagation_delay 60s
}
}
(dnschallenge) {
tls {
dns domainnameshop <api_token> <api_secret>
propagation_delay 60s
}
}
example.com {
respond "Hello World"
import dnschallenge
}