Skip to content

caddy-dns/gandi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gandi module for Caddy

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

Caddy module name

dns.providers.gandi

Config examples

Caution

The API Key authentication is no longer supported and replaced by Personal Access Token

To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:

{
  "module": "acme",
  "dns": {
    "provider": {
      "name": "gandi",
      "bearer_token": "{env.GANDI_BEARER_TOKEN}"
    }
  }
}

or with the Caddyfile:

tls {
  dns gandi {env.GANDI_BEARER_TOKEN}
}

You can replace {env.GANDI_BEARER_TOKEN} with the actual auth token if you prefer to put it directly in your config instead of an environment variable.

Authenticating

See the associated README in the libdns package for important information about credentials.