This package contains a DNS provider module for Caddy. It can be used to manage DNS records with Netnod.
dns.providers.netnod
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": "netnod",
"api_token": "YOUR_NETNOD_API_TOKEN"
}
}
}
}or with the Caddyfile:
# globally
{
acme_dns netnod ...
}
# one site
tls {
dns netnod ...
}
Propagation from the primary DNS service to the anycast network can take up to 30 seconds, especially if the zone is DNSSEC-signed. To avoid ACME challenge failures, set a propagation delay:
tls {
dns netnod {env.NETNOD_API_TOKEN}
propagation_delay 30s
}