diff --git a/backend/internal/dnsproviders/common.go b/backend/internal/dnsproviders/common.go index c71b4a31..cab6187d 100644 --- a/backend/internal/dnsproviders/common.go +++ b/backend/internal/dnsproviders/common.go @@ -48,6 +48,7 @@ func List() []Provider { getDNSDgon(), getDNSDNSimple(), getDNSDp(), + getDNSDreamhost(), getDNSDuckDNS(), getDNSDyn(), getDNSDynu(), diff --git a/backend/internal/dnsproviders/dns_dreamhost.go b/backend/internal/dnsproviders/dns_dreamhost.go new file mode 100644 index 00000000..95ebc795 --- /dev/null +++ b/backend/internal/dnsproviders/dns_dreamhost.go @@ -0,0 +1,18 @@ +package dnsproviders + +func getDNSDreamhost() Provider { + return Provider{ + AcmeshName: "dns_dreamhost", + Schema: commonKeySchema, + Fields: []providerField{ + { + Name: "API Key", + Type: "password", + MetaKey: "api_key", + EnvKey: "DH_API_KEY", + IsRequired: true, + IsSecret: true, + }, + }, + } +} diff --git a/frontend/src/locale/src/en.json b/frontend/src/locale/src/en.json index 58da933c..9882cfff 100644 --- a/frontend/src/locale/src/en.json +++ b/frontend/src/locale/src/en.json @@ -38,6 +38,9 @@ "acmesh.dns_dp": { "defaultMessage": "DNSPod.cn" }, + "acmesh.dns_dreamhost": { + "defaultMessage": "DreamHost" + }, "acmesh.dns_duckdns": { "defaultMessage": "DuckDNS" },