mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-13 06:58:13 -05:00
dns_inwx
This commit is contained in:
parent
db61a9a175
commit
d1bb22d768
@ -54,6 +54,7 @@ func List() []Provider {
|
|||||||
getDNSGd(),
|
getDNSGd(),
|
||||||
getDNSHe(),
|
getDNSHe(),
|
||||||
getDNSInfoblox(),
|
getDNSInfoblox(),
|
||||||
|
getDNSInwx(),
|
||||||
getDNSIspconfig(),
|
getDNSIspconfig(),
|
||||||
getDNSLinodeV4(),
|
getDNSLinodeV4(),
|
||||||
getDNSLua(),
|
getDNSLua(),
|
||||||
|
46
backend/internal/dnsproviders/dns_inwx.go
Normal file
46
backend/internal/dnsproviders/dns_inwx.go
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
package dnsproviders
|
||||||
|
|
||||||
|
const inwxSchema = `
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"user",
|
||||||
|
"password"
|
||||||
|
],
|
||||||
|
"additionalProperties": false,
|
||||||
|
"properties": {
|
||||||
|
"user": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1
|
||||||
|
},
|
||||||
|
"password": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`
|
||||||
|
|
||||||
|
func getDNSInwx() Provider {
|
||||||
|
return Provider{
|
||||||
|
AcmeshName: "dns_inwx",
|
||||||
|
Schema: inwxSchema,
|
||||||
|
Fields: []providerField{
|
||||||
|
{
|
||||||
|
Name: "User",
|
||||||
|
Type: "text",
|
||||||
|
MetaKey: "user",
|
||||||
|
EnvKey: "INWX_User",
|
||||||
|
IsRequired: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Name: "Password",
|
||||||
|
Type: "password",
|
||||||
|
MetaKey: "password",
|
||||||
|
EnvKey: "INWX_Password",
|
||||||
|
IsRequired: true,
|
||||||
|
IsSecret: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user