Skip to content

Commit 09f69fe

Browse files
Added Settings for DNS
1 parent cbce92e commit 09f69fe

File tree

1 file changed

+75
-1
lines changed

1 file changed

+75
-1
lines changed

AcmeCaPlugin/AcmeCaPluginConfig.cs

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static Dictionary<string, PropertyConfigInfo> GetPluginAnnotations()
4646
},
4747
["DnsProvider"] = new PropertyConfigInfo()
4848
{
49-
Comments = "DNS Provider to use for ACME DNS-01 challenges (options Google, Cloudflare, AwsRoute53, Azure, Ns1)",
49+
Comments = "DNS Provider to use for ACME DNS-01 challenges (options: Google, Cloudflare, AwsRoute53, Azure, Ns1, Rfc2136, WindowsDns)",
5050
Hidden = false,
5151
DefaultValue = "Google",
5252
Type = "String"
@@ -128,6 +128,80 @@ public static Dictionary<string, PropertyConfigInfo> GetPluginAnnotations()
128128
Hidden = true,
129129
DefaultValue = "",
130130
Type = "String"
131+
},
132+
133+
// RFC 2136 Dynamic DNS (BIND/Microsoft DNS)
134+
["Rfc2136_Server"] = new PropertyConfigInfo()
135+
{
136+
Comments = "RFC 2136 DNS: Server hostname or IP address (Optional)",
137+
Hidden = false,
138+
DefaultValue = "",
139+
Type = "String"
140+
},
141+
["Rfc2136_Port"] = new PropertyConfigInfo()
142+
{
143+
Comments = "RFC 2136 DNS: Server port (default 53) (Optional)",
144+
Hidden = false,
145+
DefaultValue = "53",
146+
Type = "Number"
147+
},
148+
["Rfc2136_Zone"] = new PropertyConfigInfo()
149+
{
150+
Comments = "RFC 2136 DNS: Zone name (e.g., example.com) (Optional)",
151+
Hidden = false,
152+
DefaultValue = "",
153+
Type = "String"
154+
},
155+
["Rfc2136_TsigKeyName"] = new PropertyConfigInfo()
156+
{
157+
Comments = "RFC 2136 DNS: TSIG key name for authentication (Optional)",
158+
Hidden = false,
159+
DefaultValue = "",
160+
Type = "String"
161+
},
162+
["Rfc2136_TsigKey"] = new PropertyConfigInfo()
163+
{
164+
Comments = "RFC 2136 DNS: TSIG key (base64 encoded) for authentication (Optional)",
165+
Hidden = true,
166+
DefaultValue = "",
167+
Type = "Secret"
168+
},
169+
["Rfc2136_TsigAlgorithm"] = new PropertyConfigInfo()
170+
{
171+
Comments = "RFC 2136 DNS: TSIG algorithm (default hmac-sha256) (Optional)",
172+
Hidden = false,
173+
DefaultValue = "hmac-sha256",
174+
Type = "String"
175+
},
176+
177+
// Windows DNS Server (PowerShell-based)
178+
["WindowsDns_Server"] = new PropertyConfigInfo()
179+
{
180+
Comments = "Windows DNS: Server hostname (leave empty for local server) (Optional)",
181+
Hidden = false,
182+
DefaultValue = "",
183+
Type = "String"
184+
},
185+
["WindowsDns_Zone"] = new PropertyConfigInfo()
186+
{
187+
Comments = "Windows DNS: Zone name (e.g., test.local) (Optional)",
188+
Hidden = false,
189+
DefaultValue = "",
190+
Type = "String"
191+
},
192+
["WindowsDns_Username"] = new PropertyConfigInfo()
193+
{
194+
Comments = "Windows DNS: Username for remote server (domain\\user format) (Optional)",
195+
Hidden = false,
196+
DefaultValue = "",
197+
Type = "String"
198+
},
199+
["WindowsDns_Password"] = new PropertyConfigInfo()
200+
{
201+
Comments = "Windows DNS: Password for remote server (Optional)",
202+
Hidden = true,
203+
DefaultValue = "",
204+
Type = "Secret"
131205
}
132206

133207
};

0 commit comments

Comments
 (0)