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 213 Yesterday
Ubuntu 24.04 Ubuntu 22.04
4/edge 212 Yesterday
Ubuntu 24.04 Ubuntu 22.04
4/edge 211 Yesterday
Ubuntu 24.04 Ubuntu 22.04
4/edge 210 Yesterday
Ubuntu 24.04 Ubuntu 22.04
juju deploy lego --channel 4/stable
Show information

Platform:

Ubuntu
24.04 22.04

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.


Help improve this document in the forum (guidelines). Last updated 1 year, 9 months ago.