Custom DNS Target
You can define a Custom DNS target for ACME DNS-01 challenges, leveraging DNS providers supported by the Lego project.
Create a Custom DNS Target with the CLI
To create a Custom DNS target with the CLI, run the following command:
akeyless target create custom-dns \
--name <target name> \
--provider-type <DNS provider> \
--dns-parameter <key|value>Where:
name: A unique name of the target. The name can include the path to the virtual folder where you want to create the new target, using slash/separators. If the folder does not exist, it will be created together with the target.provider-type: The DNS provider type. All DNS providers available through the Lego project are supported.dns-parameter: The parameters for the DNS provider.
You can find the complete list of parameters for this command in the CLI Reference - Akeyless Targets section.
Create a Custom DNS Target in the Console
- Log in to the Akeyless Console, and go to Targets > New > Other (Custom DNS).
- Define a Name of the target, and specify the Location as a path to the virtual folder where you want to create the new target, using slash
/separators. If the folder does not exist, it will be created together with the target. - Select a Protection key with a Customer Fragment to enable Zero-Knowledge and click Next.
For more information, read here. - Define the remaining parameters as follows:
- DNS Provider: The DNS provider type. All DNS providers available through the Lego project are supported.
- DNS Parameters: The parameters for the DNS provider.
