LEGO

Platform:

Ubuntu
24.04 22.04
Channel Revision Published Runs on
4/stable 535 19 Oct 2026
Ubuntu 24.04 Ubuntu 22.04
4/stable 61 22 Apr 2025
Ubuntu 24.04 Ubuntu 22.04
4/candidate 563 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/candidate 562 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/beta 563 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/beta 562 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 563 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 562 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 561 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 560 17 Nov 2026
Ubuntu 24.04 Ubuntu 22.04
juju deploy lego --channel 4/stable

The LEGO DNS Agent

When using the httpreq plugin, the Lego client requires an HTTP Endpoint of a custom challenge solver. This Challenge Solver or DNS Agent should be able to solve the DNS-01 challenge by automating the creation and removal specific DNS records.

The DNS Agent will create a TXT DNS record that contains the value provided by the ACME Server on the fqdn required by the ACME Server. The agent should be able to do this upon request from the Lego Client on its API.

The agent should expose two endpoints, present and cleanup

To learn more on how to write a custom challenge solver for your DNS provider refer to LEGO documentation on writing a challenge solver.