This package contains a DNS provider module for Caddy. It can be used to manage DNS records with all-inkl.
dns.providers.allinkl
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": "allinkl",
"kas_username": "YOUR_KAS_USERNAME",
"kas_password": "YOUR_KAS_PASSWORD"
}
}
}
}or with the Caddyfile:
# globally
{
acme_dns allinkl {
kas_username {env.KAS_USERNAME}
kas_password {env.KAS_PASSWORD}
}
}
# one site
tls {
dns allinkl {
kas_username {env.KAS_USERNAME}
kas_password {env.KAS_PASSWORD}
}
}
- Install docker and docker-compose, then run:
apt install docker.io docker-compose- Build the docker image using the provided Dockerfile and build script:
cd test-docker
chmod +x build/build.sh
./build/build.sh-
Change the name of the
.env.exampleto.envfile to include your all-inkl KAS credentials: -
Edit the
Caddyfilein thetest-docker/caddydirectory to configure your desired domains and settings. -
Start the Caddy server with docker-compose:
docker-compose up -d