[pve-devel] [manager 5/6] add alias parameter for ACME DNS Challenge.

Wolfgang Link w.link at proxmox.com
Mon Oct 14 13:08:22 CEST 2019


This parameter allows to use an alternative Domain
for setup the DNS record.

This can be useful for security reasons or if the real domain has none
Ability to automatically set up a DNS record.
---
 PVE/NodeConfig.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/PVE/NodeConfig.pm b/PVE/NodeConfig.pm
index 7817bd1e..b84590ac 100644
--- a/PVE/NodeConfig.pm
+++ b/PVE/NodeConfig.pm
@@ -78,6 +78,13 @@ my $acmedesc = {
 	optional => 1,
 	description => 'Supported ACME Plugins',
     },
+    alias => {
+	type => 'string',
+	format => 'pve-acme-domain',
+	format_description => 'domain',
+	description => 'Alias where the TXT DNS record will be set',
+	optional => 1,
+    },
     domains => {
 	type => 'string',
 	format => 'pve-acme-domain-list',
-- 
2.20.1





More information about the pve-devel mailing list