dns_kinghost, dns_zilore
This commit is contained in:
parent
f37bb2e7dc
commit
671715042e
@ -60,6 +60,7 @@ func List() []Provider {
|
||||
getDNSInfoblox(),
|
||||
getDNSInwx(),
|
||||
getDNSIspconfig(),
|
||||
getDNSKinghost(),
|
||||
getDNSLinodeV4(),
|
||||
getDNSLua(),
|
||||
getDNSMe(),
|
||||
@ -72,6 +73,7 @@ func List() []Provider {
|
||||
getDNSUnoeuro(),
|
||||
getDNSVscale(),
|
||||
getDNSYandex(),
|
||||
getDNSDNZilore(),
|
||||
getDNSZonomi(),
|
||||
}
|
||||
}
|
||||
|
46
backend/internal/dnsproviders/dns_kinghost.go
Normal file
46
backend/internal/dnsproviders/dns_kinghost.go
Normal file
@ -0,0 +1,46 @@
|
||||
package dnsproviders
|
||||
|
||||
const kinghostSchema = `
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"user",
|
||||
"password"
|
||||
],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"user": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"password": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
func getDNSKinghost() Provider {
|
||||
return Provider{
|
||||
AcmeshName: "dns_kinghost",
|
||||
Schema: kinghostSchema,
|
||||
Fields: []providerField{
|
||||
{
|
||||
Name: "User",
|
||||
Type: "text",
|
||||
MetaKey: "user",
|
||||
EnvKey: "KINGHOST_Username",
|
||||
IsRequired: true,
|
||||
},
|
||||
{
|
||||
Name: "Password",
|
||||
Type: "password",
|
||||
MetaKey: "password",
|
||||
EnvKey: "KINGHOST_Password",
|
||||
IsRequired: true,
|
||||
IsSecret: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
18
backend/internal/dnsproviders/dns_zilore.go
Normal file
18
backend/internal/dnsproviders/dns_zilore.go
Normal file
@ -0,0 +1,18 @@
|
||||
package dnsproviders
|
||||
|
||||
func getDNSDNZilore() Provider {
|
||||
return Provider{
|
||||
AcmeshName: "dns_zilore",
|
||||
Schema: commonKeySchema,
|
||||
Fields: []providerField{
|
||||
{
|
||||
Name: "API Key",
|
||||
Type: "text",
|
||||
MetaKey: "api_key",
|
||||
EnvKey: "Zilore_Key",
|
||||
IsRequired: true,
|
||||
IsSecret: true,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
@ -74,6 +74,9 @@
|
||||
"acmesh.dns_ispconfig": {
|
||||
"defaultMessage": "ISPConfig"
|
||||
},
|
||||
"acmesh.dns_kinghost": {
|
||||
"defaultMessage": "KingHost"
|
||||
},
|
||||
"acmesh.dns_linode_v4": {
|
||||
"defaultMessage": "Linode"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user