-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Welcome
- Yes, I've searched similar issues on GitHub and didn't find any.
How do you use lego?
Docker image
Effective version of lego
v4.23.1
Detailed Description
Problem Description
I am generating certificates for multi-level subdomains (e.g., foo.bar.example.com
) using DNS challenges with the All-Inkl provider. The domain example.com
is registered with All-Inkl without custom NS delegation for bar.example.com
(despite potential local DNS differences).
Expected behavior: Zone for foo.bar.example.com
should be example.com
for this All-Inkl setup, not bar.example.com
(expected to have an option to override).
Current Issue
The All-Inkl provider incorrectly attempts to update the bar.example.com
zone via KasApi, but this zone doesn't exist at All-Inkl. The TXT records should be created in the example.com
zone instead.
Requested Feature
Add an environment variable to override the automatically detected zone for the All-Inkl provider, allowing manual specification of the correct zone (e.g., example.com
) when the auto-detection logic fails.
Implementation Status
I have prepared a tested modification that adds a provider-specific environment variable for zone override without changing default behaviour by adding
EnvZoneOverride = envNamespace + "ZONE_OVERRIDE"
Default / unset env does not change behaviour, tested in binary build as well as docker build.
Question: Is this a valid feature to request for the all-inkl provider? Can I submit my implementation as a pull request?
Thanks!