dns_kinghost, dns_zilore

This commit is contained in:
Jamie Curnow 2022-06-01 12:14:16 +04:00
parent f37bb2e7dc
commit 671715042e
4 changed files with 69 additions and 0 deletions

View File

@ -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(),
}
}

View 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,
},
},
}
}

View 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,
},
},
}
}

View File

@ -74,6 +74,9 @@
"acmesh.dns_ispconfig": {
"defaultMessage": "ISPConfig"
},
"acmesh.dns_kinghost": {
"defaultMessage": "KingHost"
},
"acmesh.dns_linode_v4": {
"defaultMessage": "Linode"
},