Skip to content

all-inkl: adding zone override for multi-level subdomain dns challenge cert creation #2538

@tdick-stackop

Description

@tdick-stackop

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions