Sign inSign up

740162752/caddy-dns_plugins

By 740162752

Updated about 5 years ago

caddy2 . include dnspod;alidns;cloudflare plugin for arm and amd64

Image
1

3.4K

740162752/caddy-dns_plugins repository overview

!

docker run -itd -v /mnt/caddy/Caddyfile:/etc/caddy/Caddyfile -v /mnt/wwwroot/:/srv --net host --name caddy -v /mnt/caddy/data:/data -v /mnt/caddy/config:/config 740162752/caddy-dns_plugins

DNSPOD module for Caddy

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

Caddy module name

dns.providers.dnspod

Config examples

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": "dnspod",
        "api_token": "{env.DNSPOD_TOKEN}"
      }
    }
  }
}

or with the Caddyfile:

tls {
  dns dnspod {env.DNSPOD_TOKEN}
}

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

Alibaba Cloud DNS (AliDNS) module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with Alibaba Cloud (as is Aliyun or ALIYUN) accounts.

Caddy module name

dns.providers.alidns

Config examples

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": "alidns",
	"access_key_id":"YOUR_ALIYUN_ACCESS_KEY_ID",
	"access_key_secret":"YOUR_ALIYUN_ACCESS_KEY_SECRET"
      }
    }
  }
}

or with the Caddyfile:

# globally

acme_dns alidns {
  access_key_id {env.ALIYUN_ACCESS_KEY_ID}
  access_key_secret {env.ALIYUN_ACCESS_KEY_SECRET}
}
# one site

tls {
  dns alidns {
    access_key_id {env.ALIYUN_ACCESS_KEY_ID}
    access_key_secret {env.ALIYUN_ACCESS_KEY_SECRET}
  }
}

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

Cloudflare module for Caddy

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

Caddy module name

dns.providers.cloudflare

Config examples

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": "cloudflare",
				"api_token": "{env.CF_API_TOKEN}"
			}
		}
	}
}

or with the Caddyfile:

tls {
	dns cloudflare {env.CF_API_TOKEN}
}

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

Tag summary

Content type

Image

Digest

Size

25 MB

Last updated

about 5 years ago

docker pull 740162752/caddy-dns_plugins