LEGO

Platform:

Ubuntu
24.04 22.04
Channel Revision Published Runs on
4/stable 61 22 Apr 2025
Ubuntu 22.04
4/candidate 128 13 Nov 2025
Ubuntu 22.04
4/beta 162 09 Dec 2025
Ubuntu 24.04 Ubuntu 22.04
4/beta 160 09 Dec 2025
Ubuntu 24.04 Ubuntu 22.04
4/edge 486 05 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 485 05 Jun 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 470 20 May 2026
Ubuntu 24.04 Ubuntu 22.04
4/edge 468 20 May 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.