omg.lol DNS provider module for Caddy.
This package registers a Caddy module (dns.providers.omglol) that allows Caddy's built-in ACME client to complete DNS-01 challenges for domains hosted on omg.lol. It wraps libdns-omglol.
dns.providers.omglol
xcaddy build --with github.com/folone/caddy-dns-omglolA Dockerfile is included in this repository. Build it with:
docker build -t caddy-omglol .
docker run --rm -v $PWD/Caddyfile:/etc/caddy/Caddyfile caddy-omglolOr extract just the binary:
docker create --name tmp caddy-omglol
docker cp tmp:/usr/bin/caddy ./caddy
docker rm tmpGlobal (applies to all sites):
{
acme_dns omglol {
api_key {env.OMGLOL_API_KEY}
address yourname
}
}Per-site:
yourname.omg.lol {
tls {
dns omglol {
api_key {env.OMGLOL_API_KEY}
address yourname
}
}
}address is your omg.lol handle — the part before .omg.lol (e.g. yourname for yourname.omg.lol).
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"name": "omglol",
"api_key": "{env.OMGLOL_API_KEY}",
"address": "yourname"
}
}
}
}Your omg.lol API key is available in your account settings. It is recommended to supply it via an environment variable rather than hard-coding it in your Caddyfile.
libdns-omglol— the underlying libdns provider- Caddy DNS challenges
- xcaddy
- omg.lol API docs