diff --git a/go.mod b/go.mod
index 6cf416eb..ae1ee5b7 100644
--- a/go.mod
+++ b/go.mod
@@ -32,7 +32,6 @@ require (
github.com/libdns/cloudflare v0.2.2
github.com/libdns/cloudns v1.1.0
github.com/libdns/gcore v0.0.0-20250427050847-9964da923833
- github.com/libdns/hetzner v1.0.0
github.com/libdns/huaweicloud v1.0.0
github.com/libdns/libdns v1.1.1
github.com/libdns/namesilo v1.0.0
diff --git a/go.sum b/go.sum
index 83ad15d0..ee8a6858 100644
--- a/go.sum
+++ b/go.sum
@@ -236,8 +236,6 @@ github.com/libdns/cloudns v1.1.0 h1:W+1MadtxKySn3b5RITFTsXgTIvr5VoO5x97cewjlDcs=
github.com/libdns/cloudns v1.1.0/go.mod h1:/22V6tYYDALDpM4pw/RGGJ+X2F1Luibty9kKpKvkqBM=
github.com/libdns/gcore v0.0.0-20250427050847-9964da923833 h1:/gsawtsq03cI7qgK65v16tYHIh40omL9YEzHWqnc63I=
github.com/libdns/gcore v0.0.0-20250427050847-9964da923833/go.mod h1:jZJEV7pCTOJFlaUhHty+YwR05dzoSmInXK/vT3wOeVg=
-github.com/libdns/hetzner v1.0.0 h1:dFcgqTIfdiKQTqoqBBtgU9CewD8JSnB7p6BKxQ5kheM=
-github.com/libdns/hetzner v1.0.0/go.mod h1:OmuTyXMHTfy2nCqbt9KYkf0KwQSvo0ZeFGxEQSl3r2w=
github.com/libdns/huaweicloud v1.0.0 h1:BQUIkOAjF++ouiANRIE3jdMlCfeiAAr6tGqb+8hM1jo=
github.com/libdns/huaweicloud v1.0.0/go.mod h1:W+XywkW+C93fM50Ayklf6KuoCHZTqbrmFUEtpQnVvcU=
github.com/libdns/libdns v1.0.0-beta.1/go.mod h1:4Bj9+5CQiNMVGf87wjX4CY3HQJypUHRuLvlsfsZqLWQ=
diff --git a/internal/http/request/cert_dns.go b/internal/http/request/cert_dns.go
index f0d18842..10a12b8f 100644
--- a/internal/http/request/cert_dns.go
+++ b/internal/http/request/cert_dns.go
@@ -3,14 +3,14 @@ package request
import "github.com/acepanel/panel/pkg/acme"
type CertDNSCreate struct {
- Type acme.DnsType `form:"type" json:"type" validate:"required|in:aliyun,tencent,huawei,westcn,cloudflare,gcore,porkbun,namesilo,cloudns,hetzner"`
+ Type acme.DnsType `form:"type" json:"type" validate:"required|in:aliyun,tencent,huawei,westcn,cloudflare,gcore,porkbun,namesilo,cloudns"`
Name string `form:"name" json:"name" validate:"required"`
Data acme.DNSParam `form:"data" json:"data" validate:"required"`
}
type CertDNSUpdate struct {
ID uint `form:"id" json:"id" validate:"required|exists:cert_dns,id"`
- Type acme.DnsType `form:"type" json:"type" validate:"required|in:aliyun,tencent,huawei,westcn,cloudflare,gcore,porkbun,namesilo,cloudns,hetzner"`
+ Type acme.DnsType `form:"type" json:"type" validate:"required|in:aliyun,tencent,huawei,westcn,cloudflare,gcore,porkbun,namesilo,cloudns"`
Name string `form:"name" json:"name" validate:"required"`
Data acme.DNSParam `form:"data" json:"data" validate:"required"`
}
diff --git a/internal/service/cert.go b/internal/service/cert.go
index e5ece115..6787e928 100644
--- a/internal/service/cert.go
+++ b/internal/service/cert.go
@@ -92,10 +92,6 @@ func (s *CertService) DNSProviders(w http.ResponseWriter, r *http.Request) {
Label: s.t.Get("ClouDNS"),
Value: string(acme.ClouDNS),
},
- {
- Label: s.t.Get("Hetzner"),
- Value: string(acme.Hetzner),
- },
})
}
diff --git a/pkg/acme/solvers.go b/pkg/acme/solvers.go
index f87705ac..2b893971 100644
--- a/pkg/acme/solvers.go
+++ b/pkg/acme/solvers.go
@@ -11,7 +11,6 @@ import (
"github.com/libdns/cloudflare"
"github.com/libdns/cloudns"
"github.com/libdns/gcore"
- "github.com/libdns/hetzner"
"github.com/libdns/huaweicloud"
"github.com/libdns/libdns"
"github.com/libdns/namesilo"
@@ -190,10 +189,6 @@ func (s *dnsSolver) getDNSProvider() (DNSProvider, error) {
AuthPassword: s.param.SK,
}
}
- case Hetzner:
- dns = &hetzner.Provider{
- AuthAPIToken: s.param.AK,
- }
default:
return nil, fmt.Errorf("unsupported DNS provider: %s", s.dns)
}
@@ -213,7 +208,6 @@ const (
Porkbun DnsType = "porkbun"
NameSilo DnsType = "namesilo"
ClouDNS DnsType = "cloudns"
- Hetzner DnsType = "hetzner"
)
type DNSParam struct {
diff --git a/web/src/views/cert/CreateDnsModal.vue b/web/src/views/cert/CreateDnsModal.vue
index 21ed74ce..a35d3ec7 100644
--- a/web/src/views/cert/CreateDnsModal.vue
+++ b/web/src/views/cert/CreateDnsModal.vue
@@ -169,13 +169,6 @@ const handleCreateDNS = async () => {
:placeholder="$gettext('Enter ClouDNS Auth Password')"
/>
-
-
-
{{ $gettext('Submit') }}
diff --git a/web/src/views/cert/DnsView.vue b/web/src/views/cert/DnsView.vue
index 63034c33..d8fd52fc 100644
--- a/web/src/views/cert/DnsView.vue
+++ b/web/src/views/cert/DnsView.vue
@@ -306,13 +306,6 @@ onUnmounted(() => {
:placeholder="$gettext('Enter ClouDNS Auth Password')"
/>
-
-
-
{{ $gettext('Submit') }}