caddy-dns / gandi

Caddy module: dns.providers.gandi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 gPersonal 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.

About

Caddy module: dns.providers.gandi

License:MIT License


Languages

Language:Go 100.0%