This package contains a DNS provider module for Caddy. It can be used to manage DNS records with name.com.
dns.providers.namedotcom
See the associated README in the libdns package for important information about credentials.
To compile this Caddy module, follow the steps describe at the Caddy Build from Source instructions and import the github.com/caddy-dns/namedotcom
plugin
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": "namedotcom",
"api_token": "{env.NAMEDOTCOM_TOKEN}",
"user": "{env.NAMEDOTCOM_USER}",
"server": "{env.NAMEDOTCOM_SERVER}"
}
}
}
}
or with the Caddyfile:
tls {
dns namedotcom {
token {$NAMEDOTCOM_TOKEN}
server {$NAMEDOTCOM_SERVER}
user {$NAMEDOTCOM_USER}
}
}