No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-06-19 14:12:36 +00:00
go.mod Bump libdns-lws to v0.1.3 (TTL fix) 2026-06-19 14:12:36 +00:00
go.sum Bump libdns-lws to v0.1.3 (TTL fix) 2026-06-19 14:12:36 +00:00
LICENSE Initial commit: caddy-dns-lws module for LWS 2026-06-19 12:33:36 +00:00
module.go Bump libdns-lws to v0.1.3 (TTL fix) 2026-06-19 14:12:36 +00:00
README.md Initial commit: caddy-dns-lws module for LWS 2026-06-19 12:33:36 +00:00

LWS module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with LWS (Ligne Web Services).

Caddy module name

dns.providers.lws

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": "lws",
                "auth_login": "YOUR_LWS_ID",
                "auth_pass": "YOUR_LWS_API_KEY"
            }
        }
    }
}

or with the Caddyfile:

# globally
{
    acme_dns lws YOUR_LWS_ID YOUR_LWS_API_KEY
# one site
tls {
    dns lws YOUR_LWS_ID YOUR_LWS_API_KEY
}

Authentication

You need your LWS account ID and an API key from your LWS Panel. The source IP making requests must be authorized in the panel's API settings.