Skip to content
Discussion options

You must be logged in to vote

this solution works for me (keep only cloudflare and rfc2136):

  • delete all unused DNS providers directories in providers/dns/* except cloudflare and rfc2136
  • update providers/dns/zz_gen_dns_providers.go
// Code generated by 'make generate-dns'; DO NOT EDIT.

package dns

import (
	"fmt"

	"github.com/go-acme/lego/v4/challenge"
	"github.com/go-acme/lego/v4/challenge/dns01"
	"github.com/go-acme/lego/v4/providers/dns/cloudflare"
	"github.com/go-acme/lego/v4/providers/dns/rfc2136"
)

// NewDNSChallengeProviderByName Factory for DNS providers.
func NewDNSChallengeProviderByName(name string) (challenge.Provider, error) {
	switch name {
	case "manual":
		return dns01.NewDNSProviderManual()
	case "…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@abdeldjalil-fellah
Comment options

@ldez
Comment options

ldez Jun 30, 2025
Maintainer

Comment options

You must be logged in to vote
0 replies
Answer selected by abdeldjalil-fellah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants