diff --git a/README.md b/README.md index f1dff81..7c021ea 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If you have no background in setting up reverse proxy or web routing, you should ## Build from Source -Requires Go 1.22 or higher +Requires Go 1.23 or higher ```bash git clone https://github.com/tobychui/zoraxy diff --git a/tools/dns_challenge_update/code-gen/acmedns/acmedns.go b/tools/dns_challenge_update/code-gen/acmedns/acmedns.go index a0e4387..577f098 100644 --- a/tools/dns_challenge_update/code-gen/acmedns/acmedns.go +++ b/tools/dns_challenge_update/code-gen/acmedns/acmedns.go @@ -6,6 +6,7 @@ package acmedns import ( "encoding/json" "fmt" + "time" "github.com/go-acme/lego/v4/challenge" "github.com/go-acme/lego/v4/providers/dns/alidns" @@ -32,6 +33,7 @@ import ( "github.com/go-acme/lego/v4/providers/dns/derak" "github.com/go-acme/lego/v4/providers/dns/desec" "github.com/go-acme/lego/v4/providers/dns/digitalocean" + "github.com/go-acme/lego/v4/providers/dns/directadmin" "github.com/go-acme/lego/v4/providers/dns/dnshomede" "github.com/go-acme/lego/v4/providers/dns/dnsimple" "github.com/go-acme/lego/v4/providers/dns/dnsmadeeasy" @@ -45,7 +47,6 @@ import ( "github.com/go-acme/lego/v4/providers/dns/easydns" "github.com/go-acme/lego/v4/providers/dns/efficientip" "github.com/go-acme/lego/v4/providers/dns/epik" - "github.com/go-acme/lego/v4/providers/dns/exoscale" "github.com/go-acme/lego/v4/providers/dns/freemyip" "github.com/go-acme/lego/v4/providers/dns/gandi" "github.com/go-acme/lego/v4/providers/dns/gandiv5" @@ -57,6 +58,7 @@ import ( "github.com/go-acme/lego/v4/providers/dns/hostingde" "github.com/go-acme/lego/v4/providers/dns/hosttech" "github.com/go-acme/lego/v4/providers/dns/httpnet" + "github.com/go-acme/lego/v4/providers/dns/huaweicloud" "github.com/go-acme/lego/v4/providers/dns/hyperone" "github.com/go-acme/lego/v4/providers/dns/ibmcloud" "github.com/go-acme/lego/v4/providers/dns/iij" @@ -71,12 +73,15 @@ import ( "github.com/go-acme/lego/v4/providers/dns/joker" "github.com/go-acme/lego/v4/providers/dns/liara" "github.com/go-acme/lego/v4/providers/dns/lightsail" + "github.com/go-acme/lego/v4/providers/dns/limacity" "github.com/go-acme/lego/v4/providers/dns/linode" "github.com/go-acme/lego/v4/providers/dns/liquidweb" "github.com/go-acme/lego/v4/providers/dns/loopia" "github.com/go-acme/lego/v4/providers/dns/luadns" "github.com/go-acme/lego/v4/providers/dns/mailinabox" "github.com/go-acme/lego/v4/providers/dns/metaname" + "github.com/go-acme/lego/v4/providers/dns/mijnhost" + "github.com/go-acme/lego/v4/providers/dns/mittwald" "github.com/go-acme/lego/v4/providers/dns/mydnsjp" "github.com/go-acme/lego/v4/providers/dns/namecheap" "github.com/go-acme/lego/v4/providers/dns/namedotcom" @@ -104,6 +109,7 @@ import ( "github.com/go-acme/lego/v4/providers/dns/sakuracloud" "github.com/go-acme/lego/v4/providers/dns/scaleway" "github.com/go-acme/lego/v4/providers/dns/selectel" + "github.com/go-acme/lego/v4/providers/dns/selfhostde" "github.com/go-acme/lego/v4/providers/dns/servercow" "github.com/go-acme/lego/v4/providers/dns/shellrent" "github.com/go-acme/lego/v4/providers/dns/simply" @@ -133,15 +139,17 @@ import ( //name is the DNS provider name, e.g. cloudflare or gandi //JSON (js) must be in key-value string that match ConfigableFields Title in providers.json, e.g. {"Username":"far","Password":"boo"} -func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, error){ +func GetDNSProviderByJsonConfig(name string, js string, propagationTimeout int64)(challenge.Provider, error){ + pgDuration := time.Duration(propagationTimeout) * time.Second switch name { - + case "alidns": cfg := alidns.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return alidns.NewDNSProviderConfig(cfg) case "allinkl": cfg := allinkl.NewDefaultConfig() @@ -149,6 +157,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return allinkl.NewDNSProviderConfig(cfg) case "arvancloud": cfg := arvancloud.NewDefaultConfig() @@ -156,6 +165,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return arvancloud.NewDNSProviderConfig(cfg) case "auroradns": cfg := auroradns.NewDefaultConfig() @@ -163,6 +173,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return auroradns.NewDNSProviderConfig(cfg) case "autodns": cfg := autodns.NewDefaultConfig() @@ -170,6 +181,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return autodns.NewDNSProviderConfig(cfg) case "azure": cfg := azure.NewDefaultConfig() @@ -177,6 +189,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return azure.NewDNSProviderConfig(cfg) case "azuredns": cfg := azuredns.NewDefaultConfig() @@ -184,6 +197,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return azuredns.NewDNSProviderConfig(cfg) case "bindman": cfg := bindman.NewDefaultConfig() @@ -191,6 +205,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return bindman.NewDNSProviderConfig(cfg) case "bluecat": cfg := bluecat.NewDefaultConfig() @@ -198,6 +213,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return bluecat.NewDNSProviderConfig(cfg) case "brandit": cfg := brandit.NewDefaultConfig() @@ -205,6 +221,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return brandit.NewDNSProviderConfig(cfg) case "bunny": cfg := bunny.NewDefaultConfig() @@ -212,6 +229,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return bunny.NewDNSProviderConfig(cfg) case "checkdomain": cfg := checkdomain.NewDefaultConfig() @@ -219,6 +237,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return checkdomain.NewDNSProviderConfig(cfg) case "civo": cfg := civo.NewDefaultConfig() @@ -226,6 +245,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return civo.NewDNSProviderConfig(cfg) case "clouddns": cfg := clouddns.NewDefaultConfig() @@ -233,6 +253,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return clouddns.NewDNSProviderConfig(cfg) case "cloudflare": cfg := cloudflare.NewDefaultConfig() @@ -240,6 +261,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return cloudflare.NewDNSProviderConfig(cfg) case "cloudns": cfg := cloudns.NewDefaultConfig() @@ -247,6 +269,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return cloudns.NewDNSProviderConfig(cfg) case "cloudru": cfg := cloudru.NewDefaultConfig() @@ -254,6 +277,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return cloudru.NewDNSProviderConfig(cfg) case "cloudxns": cfg := cloudxns.NewDefaultConfig() @@ -261,6 +285,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return cloudxns.NewDNSProviderConfig(cfg) case "conoha": cfg := conoha.NewDefaultConfig() @@ -268,6 +293,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return conoha.NewDNSProviderConfig(cfg) case "constellix": cfg := constellix.NewDefaultConfig() @@ -275,6 +301,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return constellix.NewDNSProviderConfig(cfg) case "cpanel": cfg := cpanel.NewDefaultConfig() @@ -282,6 +309,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return cpanel.NewDNSProviderConfig(cfg) case "derak": cfg := derak.NewDefaultConfig() @@ -289,6 +317,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return derak.NewDNSProviderConfig(cfg) case "desec": cfg := desec.NewDefaultConfig() @@ -296,6 +325,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return desec.NewDNSProviderConfig(cfg) case "digitalocean": cfg := digitalocean.NewDefaultConfig() @@ -303,13 +333,23 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return digitalocean.NewDNSProviderConfig(cfg) + case "directadmin": + cfg := directadmin.NewDefaultConfig() + err := json.Unmarshal([]byte(js), &cfg) + if err != nil { + return nil, err + } + cfg.PropagationTimeout = pgDuration + return directadmin.NewDNSProviderConfig(cfg) case "dnshomede": cfg := dnshomede.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dnshomede.NewDNSProviderConfig(cfg) case "dnsimple": cfg := dnsimple.NewDefaultConfig() @@ -317,6 +357,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dnsimple.NewDNSProviderConfig(cfg) case "dnsmadeeasy": cfg := dnsmadeeasy.NewDefaultConfig() @@ -324,6 +365,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dnsmadeeasy.NewDNSProviderConfig(cfg) case "dnspod": cfg := dnspod.NewDefaultConfig() @@ -331,6 +373,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dnspod.NewDNSProviderConfig(cfg) case "dode": cfg := dode.NewDefaultConfig() @@ -338,6 +381,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dode.NewDNSProviderConfig(cfg) case "domeneshop": cfg := domeneshop.NewDefaultConfig() @@ -345,6 +389,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return domeneshop.NewDNSProviderConfig(cfg) case "dreamhost": cfg := dreamhost.NewDefaultConfig() @@ -352,6 +397,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dreamhost.NewDNSProviderConfig(cfg) case "duckdns": cfg := duckdns.NewDefaultConfig() @@ -359,6 +405,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return duckdns.NewDNSProviderConfig(cfg) case "dyn": cfg := dyn.NewDefaultConfig() @@ -366,6 +413,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dyn.NewDNSProviderConfig(cfg) case "dynu": cfg := dynu.NewDefaultConfig() @@ -373,6 +421,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return dynu.NewDNSProviderConfig(cfg) case "easydns": cfg := easydns.NewDefaultConfig() @@ -380,6 +429,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return easydns.NewDNSProviderConfig(cfg) case "efficientip": cfg := efficientip.NewDefaultConfig() @@ -387,6 +437,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return efficientip.NewDNSProviderConfig(cfg) case "epik": cfg := epik.NewDefaultConfig() @@ -394,20 +445,15 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return epik.NewDNSProviderConfig(cfg) - case "exoscale": - cfg := exoscale.NewDefaultConfig() - err := json.Unmarshal([]byte(js), &cfg) - if err != nil { - return nil, err - } - return exoscale.NewDNSProviderConfig(cfg) case "freemyip": cfg := freemyip.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return freemyip.NewDNSProviderConfig(cfg) case "gandi": cfg := gandi.NewDefaultConfig() @@ -415,6 +461,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return gandi.NewDNSProviderConfig(cfg) case "gandiv5": cfg := gandiv5.NewDefaultConfig() @@ -422,6 +469,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return gandiv5.NewDNSProviderConfig(cfg) case "gcore": cfg := gcore.NewDefaultConfig() @@ -429,6 +477,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return gcore.NewDNSProviderConfig(cfg) case "glesys": cfg := glesys.NewDefaultConfig() @@ -436,6 +485,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return glesys.NewDNSProviderConfig(cfg) case "godaddy": cfg := godaddy.NewDefaultConfig() @@ -443,6 +493,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return godaddy.NewDNSProviderConfig(cfg) case "googledomains": cfg := googledomains.NewDefaultConfig() @@ -450,6 +501,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return googledomains.NewDNSProviderConfig(cfg) case "hetzner": cfg := hetzner.NewDefaultConfig() @@ -457,6 +509,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return hetzner.NewDNSProviderConfig(cfg) case "hostingde": cfg := hostingde.NewDefaultConfig() @@ -464,6 +517,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return hostingde.NewDNSProviderConfig(cfg) case "hosttech": cfg := hosttech.NewDefaultConfig() @@ -471,6 +525,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return hosttech.NewDNSProviderConfig(cfg) case "httpnet": cfg := httpnet.NewDefaultConfig() @@ -478,13 +533,23 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return httpnet.NewDNSProviderConfig(cfg) + case "huaweicloud": + cfg := huaweicloud.NewDefaultConfig() + err := json.Unmarshal([]byte(js), &cfg) + if err != nil { + return nil, err + } + cfg.PropagationTimeout = pgDuration + return huaweicloud.NewDNSProviderConfig(cfg) case "hyperone": cfg := hyperone.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return hyperone.NewDNSProviderConfig(cfg) case "ibmcloud": cfg := ibmcloud.NewDefaultConfig() @@ -492,6 +557,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return ibmcloud.NewDNSProviderConfig(cfg) case "iij": cfg := iij.NewDefaultConfig() @@ -499,6 +565,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return iij.NewDNSProviderConfig(cfg) case "iijdpf": cfg := iijdpf.NewDefaultConfig() @@ -506,6 +573,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return iijdpf.NewDNSProviderConfig(cfg) case "infoblox": cfg := infoblox.NewDefaultConfig() @@ -513,6 +581,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return infoblox.NewDNSProviderConfig(cfg) case "infomaniak": cfg := infomaniak.NewDefaultConfig() @@ -520,6 +589,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return infomaniak.NewDNSProviderConfig(cfg) case "internetbs": cfg := internetbs.NewDefaultConfig() @@ -527,6 +597,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return internetbs.NewDNSProviderConfig(cfg) case "inwx": cfg := inwx.NewDefaultConfig() @@ -534,6 +605,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return inwx.NewDNSProviderConfig(cfg) case "ionos": cfg := ionos.NewDefaultConfig() @@ -541,6 +613,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return ionos.NewDNSProviderConfig(cfg) case "ipv64": cfg := ipv64.NewDefaultConfig() @@ -548,6 +621,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return ipv64.NewDNSProviderConfig(cfg) case "iwantmyname": cfg := iwantmyname.NewDefaultConfig() @@ -555,6 +629,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return iwantmyname.NewDNSProviderConfig(cfg) case "joker": cfg := joker.NewDefaultConfig() @@ -562,6 +637,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return joker.NewDNSProviderConfig(cfg) case "liara": cfg := liara.NewDefaultConfig() @@ -569,6 +645,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return liara.NewDNSProviderConfig(cfg) case "lightsail": cfg := lightsail.NewDefaultConfig() @@ -576,13 +653,23 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return lightsail.NewDNSProviderConfig(cfg) + case "limacity": + cfg := limacity.NewDefaultConfig() + err := json.Unmarshal([]byte(js), &cfg) + if err != nil { + return nil, err + } + cfg.PropagationTimeout = pgDuration + return limacity.NewDNSProviderConfig(cfg) case "linode": cfg := linode.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return linode.NewDNSProviderConfig(cfg) case "liquidweb": cfg := liquidweb.NewDefaultConfig() @@ -590,6 +677,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return liquidweb.NewDNSProviderConfig(cfg) case "loopia": cfg := loopia.NewDefaultConfig() @@ -597,6 +685,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return loopia.NewDNSProviderConfig(cfg) case "luadns": cfg := luadns.NewDefaultConfig() @@ -604,6 +693,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return luadns.NewDNSProviderConfig(cfg) case "mailinabox": cfg := mailinabox.NewDefaultConfig() @@ -611,6 +701,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return mailinabox.NewDNSProviderConfig(cfg) case "metaname": cfg := metaname.NewDefaultConfig() @@ -618,13 +709,31 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return metaname.NewDNSProviderConfig(cfg) + case "mijnhost": + cfg := mijnhost.NewDefaultConfig() + err := json.Unmarshal([]byte(js), &cfg) + if err != nil { + return nil, err + } + cfg.PropagationTimeout = pgDuration + return mijnhost.NewDNSProviderConfig(cfg) + case "mittwald": + cfg := mittwald.NewDefaultConfig() + err := json.Unmarshal([]byte(js), &cfg) + if err != nil { + return nil, err + } + cfg.PropagationTimeout = pgDuration + return mittwald.NewDNSProviderConfig(cfg) case "mydnsjp": cfg := mydnsjp.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return mydnsjp.NewDNSProviderConfig(cfg) case "namecheap": cfg := namecheap.NewDefaultConfig() @@ -632,6 +741,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return namecheap.NewDNSProviderConfig(cfg) case "namedotcom": cfg := namedotcom.NewDefaultConfig() @@ -639,6 +749,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return namedotcom.NewDNSProviderConfig(cfg) case "namesilo": cfg := namesilo.NewDefaultConfig() @@ -646,6 +757,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return namesilo.NewDNSProviderConfig(cfg) case "nearlyfreespeech": cfg := nearlyfreespeech.NewDefaultConfig() @@ -653,6 +765,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return nearlyfreespeech.NewDNSProviderConfig(cfg) case "netcup": cfg := netcup.NewDefaultConfig() @@ -660,6 +773,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return netcup.NewDNSProviderConfig(cfg) case "netlify": cfg := netlify.NewDefaultConfig() @@ -667,6 +781,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return netlify.NewDNSProviderConfig(cfg) case "nicmanager": cfg := nicmanager.NewDefaultConfig() @@ -674,6 +789,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return nicmanager.NewDNSProviderConfig(cfg) case "nifcloud": cfg := nifcloud.NewDefaultConfig() @@ -681,6 +797,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return nifcloud.NewDNSProviderConfig(cfg) case "njalla": cfg := njalla.NewDefaultConfig() @@ -688,6 +805,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return njalla.NewDNSProviderConfig(cfg) case "nodion": cfg := nodion.NewDefaultConfig() @@ -695,6 +813,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return nodion.NewDNSProviderConfig(cfg) case "ns1": cfg := ns1.NewDefaultConfig() @@ -702,6 +821,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return ns1.NewDNSProviderConfig(cfg) case "otc": cfg := otc.NewDefaultConfig() @@ -709,6 +829,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return otc.NewDNSProviderConfig(cfg) case "ovh": cfg := ovh.NewDefaultConfig() @@ -716,6 +837,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return ovh.NewDNSProviderConfig(cfg) case "pdns": cfg := pdns.NewDefaultConfig() @@ -723,6 +845,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return pdns.NewDNSProviderConfig(cfg) case "plesk": cfg := plesk.NewDefaultConfig() @@ -730,6 +853,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return plesk.NewDNSProviderConfig(cfg) case "porkbun": cfg := porkbun.NewDefaultConfig() @@ -737,6 +861,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return porkbun.NewDNSProviderConfig(cfg) case "rackspace": cfg := rackspace.NewDefaultConfig() @@ -744,6 +869,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return rackspace.NewDNSProviderConfig(cfg) case "rcodezero": cfg := rcodezero.NewDefaultConfig() @@ -751,6 +877,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return rcodezero.NewDNSProviderConfig(cfg) case "regru": cfg := regru.NewDefaultConfig() @@ -758,6 +885,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return regru.NewDNSProviderConfig(cfg) case "rfc2136": cfg := rfc2136.NewDefaultConfig() @@ -765,6 +893,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return rfc2136.NewDNSProviderConfig(cfg) case "rimuhosting": cfg := rimuhosting.NewDefaultConfig() @@ -772,6 +901,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return rimuhosting.NewDNSProviderConfig(cfg) case "route53": cfg := route53.NewDefaultConfig() @@ -779,6 +909,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return route53.NewDNSProviderConfig(cfg) case "safedns": cfg := safedns.NewDefaultConfig() @@ -786,6 +917,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return safedns.NewDNSProviderConfig(cfg) case "sakuracloud": cfg := sakuracloud.NewDefaultConfig() @@ -793,6 +925,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return sakuracloud.NewDNSProviderConfig(cfg) case "scaleway": cfg := scaleway.NewDefaultConfig() @@ -800,6 +933,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return scaleway.NewDNSProviderConfig(cfg) case "selectel": cfg := selectel.NewDefaultConfig() @@ -807,13 +941,23 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return selectel.NewDNSProviderConfig(cfg) + case "selfhostde": + cfg := selfhostde.NewDefaultConfig() + err := json.Unmarshal([]byte(js), &cfg) + if err != nil { + return nil, err + } + cfg.PropagationTimeout = pgDuration + return selfhostde.NewDNSProviderConfig(cfg) case "servercow": cfg := servercow.NewDefaultConfig() err := json.Unmarshal([]byte(js), &cfg) if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return servercow.NewDNSProviderConfig(cfg) case "shellrent": cfg := shellrent.NewDefaultConfig() @@ -821,6 +965,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return shellrent.NewDNSProviderConfig(cfg) case "simply": cfg := simply.NewDefaultConfig() @@ -828,6 +973,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return simply.NewDNSProviderConfig(cfg) case "sonic": cfg := sonic.NewDefaultConfig() @@ -835,6 +981,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return sonic.NewDNSProviderConfig(cfg) case "stackpath": cfg := stackpath.NewDefaultConfig() @@ -842,6 +989,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return stackpath.NewDNSProviderConfig(cfg) case "tencentcloud": cfg := tencentcloud.NewDefaultConfig() @@ -849,6 +997,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return tencentcloud.NewDNSProviderConfig(cfg) case "transip": cfg := transip.NewDefaultConfig() @@ -856,6 +1005,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return transip.NewDNSProviderConfig(cfg) case "ultradns": cfg := ultradns.NewDefaultConfig() @@ -863,6 +1013,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return ultradns.NewDNSProviderConfig(cfg) case "variomedia": cfg := variomedia.NewDefaultConfig() @@ -870,6 +1021,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return variomedia.NewDNSProviderConfig(cfg) case "vegadns": cfg := vegadns.NewDefaultConfig() @@ -877,6 +1029,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return vegadns.NewDNSProviderConfig(cfg) case "vercel": cfg := vercel.NewDefaultConfig() @@ -884,6 +1037,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return vercel.NewDNSProviderConfig(cfg) case "versio": cfg := versio.NewDefaultConfig() @@ -891,6 +1045,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return versio.NewDNSProviderConfig(cfg) case "vinyldns": cfg := vinyldns.NewDefaultConfig() @@ -898,6 +1053,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return vinyldns.NewDNSProviderConfig(cfg) case "vkcloud": cfg := vkcloud.NewDefaultConfig() @@ -905,6 +1061,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return vkcloud.NewDNSProviderConfig(cfg) case "vscale": cfg := vscale.NewDefaultConfig() @@ -912,6 +1069,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return vscale.NewDNSProviderConfig(cfg) case "vultr": cfg := vultr.NewDefaultConfig() @@ -919,6 +1077,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return vultr.NewDNSProviderConfig(cfg) case "webnames": cfg := webnames.NewDefaultConfig() @@ -926,6 +1085,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return webnames.NewDNSProviderConfig(cfg) case "websupport": cfg := websupport.NewDefaultConfig() @@ -933,6 +1093,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return websupport.NewDNSProviderConfig(cfg) case "wedos": cfg := wedos.NewDefaultConfig() @@ -940,6 +1101,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return wedos.NewDNSProviderConfig(cfg) case "yandex": cfg := yandex.NewDefaultConfig() @@ -947,6 +1109,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return yandex.NewDNSProviderConfig(cfg) case "yandex360": cfg := yandex360.NewDefaultConfig() @@ -954,6 +1117,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return yandex360.NewDNSProviderConfig(cfg) case "yandexcloud": cfg := yandexcloud.NewDefaultConfig() @@ -961,6 +1125,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return yandexcloud.NewDNSProviderConfig(cfg) case "zoneee": cfg := zoneee.NewDefaultConfig() @@ -968,6 +1133,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return zoneee.NewDNSProviderConfig(cfg) case "zonomi": cfg := zonomi.NewDefaultConfig() @@ -975,6 +1141,7 @@ func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, erro if err != nil { return nil, err } + cfg.PropagationTimeout = pgDuration return zonomi.NewDNSProviderConfig(cfg) default: return nil, fmt.Errorf("unrecognized DNS provider: %s", name) diff --git a/tools/dns_challenge_update/code-gen/acmedns/providers.json b/tools/dns_challenge_update/code-gen/acmedns/providers.json index 4a1ef2d..a4d8413 100644 --- a/tools/dns_challenge_update/code-gen/acmedns/providers.json +++ b/tools/dns_challenge_update/code-gen/acmedns/providers.json @@ -21,9 +21,7 @@ { "Title": "RegionID", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -31,12 +29,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "allinkl": { "Name": "allinkl", @@ -48,9 +43,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -58,7 +51,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -71,9 +66,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -81,7 +74,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -102,9 +97,7 @@ { "Title": "Secret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -113,7 +106,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "autodns": { "Name": "autodns", @@ -133,9 +127,7 @@ { "Title": "Context", "Datatype": "int" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -143,7 +135,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -153,6 +147,10 @@ "azure": { "Name": "azure", "ConfigableFields": [ + { + "Title": "ZoneName", + "Datatype": "string" + }, { "Title": "ClientID", "Datatype": "string" @@ -184,12 +182,6 @@ { "Title": "ActiveDirectoryEndpoint", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "PrivateZone", - "Datatype": "bool" }, { "Title": "PropagationTimeout", @@ -198,6 +190,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "PrivateZone", + "Datatype": "bool" }, { "Title": "HTTPClient", @@ -208,6 +206,10 @@ "azuredns": { "Name": "azuredns", "ConfigableFields": [ + { + "Title": "ZoneName", + "Datatype": "string" + }, { "Title": "SubscriptionID", "Datatype": "string" @@ -248,6 +250,14 @@ "Title": "AuthMethod", "Datatype": "string" }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + }, { "Title": "ServiceDiscoveryFilter", "Datatype": "string" @@ -262,18 +272,6 @@ "Title": "Environment", "Datatype": "cloud.Configuration" }, - { - "Title": "AuthMSITimeout", - "Datatype": "time.Duration" - }, - { - "Title": "PropagationTimeout", - "Datatype": "time.Duration" - }, - { - "Title": "PollingInterval", - "Datatype": "time.Duration" - }, { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -283,12 +281,6 @@ "bindman": { "Name": "bindman", "ConfigableFields": [ - { - "Title": "BaseURL", - "Datatype": "string" - } - ], - "HiddenFields": [ { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -297,6 +289,12 @@ "Title": "PollingInterval", "Datatype": "time.Duration" }, + { + "Title": "BaseURL", + "Datatype": "string" + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -326,12 +324,6 @@ "Title": "DNSView", "Datatype": "string" }, - { - "Title": "Debug", - "Datatype": "bool" - } - ], - "HiddenFields": [ { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -340,9 +332,19 @@ "Title": "PollingInterval", "Datatype": "time.Duration" }, + { + "Title": "Debug", + "Datatype": "bool" + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" + }, + { + "Title": "SkipDeploy", + "Datatype": "bool" } ] }, @@ -356,9 +358,7 @@ { "Title": "APIUsername", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -366,7 +366,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -379,9 +381,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -390,7 +390,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "checkdomain": { "Name": "checkdomain", @@ -402,9 +403,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -412,7 +411,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -429,9 +430,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -440,7 +439,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "clouddns": { "Name": "clouddns", @@ -456,9 +456,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -466,7 +464,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -491,9 +491,7 @@ { "Title": "ZoneToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -501,7 +499,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -522,9 +522,7 @@ { "Title": "AuthPassword", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -532,7 +530,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -553,9 +553,7 @@ { "Title": "Secret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -563,11 +561,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -584,9 +580,7 @@ { "Title": "SecretKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -594,7 +588,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -619,9 +615,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -629,7 +623,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -646,9 +642,7 @@ { "Title": "SecretKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -656,7 +650,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -681,9 +677,7 @@ { "Title": "BaseURL", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -691,7 +685,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -708,9 +704,7 @@ { "Title": "WebsiteID", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -718,7 +712,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -731,9 +727,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -741,7 +735,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -758,9 +754,7 @@ { "Title": "AuthToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -768,7 +762,44 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "HTTPClient", + "Datatype": "*http.Client" + } + ] + }, + "directadmin": { + "Name": "directadmin", + "ConfigableFields": [ + { + "Title": "BaseURL", + "Datatype": "string" }, + { + "Title": "Username", + "Datatype": "string" + }, + { + "Title": "Password", + "Datatype": "string" + }, + { + "Title": "ZoneName", + "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -777,12 +808,7 @@ }, "dnshomede": { "Name": "dnshomede", - "ConfigableFields": [], - "HiddenFields": [ - { - "Title": "Credentials", - "Datatype": "map[string]string" - }, + "ConfigableFields": [ { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -790,10 +816,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { - "Title": "SequenceInterval", - "Datatype": "time.Duration" + "Title": "Credentials", + "Datatype": "map[string]string" }, { "Title": "HTTPClient", @@ -815,9 +843,7 @@ { "Title": "BaseURL", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -826,7 +852,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "dnsmadeeasy": { "Name": "dnsmadeeasy", @@ -842,6 +869,14 @@ { "Title": "APISecret", "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" } ], "HiddenFields": [ @@ -852,14 +887,6 @@ { "Title": "HTTPClient", "Datatype": "*http.Client" - }, - { - "Title": "PropagationTimeout", - "Datatype": "time.Duration" - }, - { - "Title": "PollingInterval", - "Datatype": "time.Duration" } ] }, @@ -869,9 +896,7 @@ { "Title": "LoginToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -879,7 +904,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -892,9 +919,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -902,11 +927,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -923,9 +946,7 @@ { "Title": "APISecret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -933,7 +954,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -950,9 +973,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -960,7 +981,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -973,9 +996,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -983,11 +1004,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1008,12 +1027,6 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "HTTPClient", - "Datatype": "*http.Client" }, { "Title": "PropagationTimeout", @@ -1023,6 +1036,12 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } + ], + "HiddenFields": [ + { + "Title": "HTTPClient", + "Datatype": "*http.Client" + } ] }, "dynu": { @@ -1031,9 +1050,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1041,7 +1058,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1062,12 +1081,6 @@ { "Title": "Key", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "HTTPClient", - "Datatype": "*http.Client" }, { "Title": "PropagationTimeout", @@ -1076,10 +1089,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { - "Title": "SequenceInterval", - "Datatype": "time.Duration" + "Title": "HTTPClient", + "Datatype": "*http.Client" } ] }, @@ -1109,9 +1124,7 @@ { "Title": "InsecureSkipVerify", "Datatype": "bool" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1119,7 +1132,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1132,9 +1147,7 @@ { "Title": "Signature", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1142,57 +1155,22 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" } ] }, - "exoscale": { - "Name": "exoscale", - "ConfigableFields": [ - { - "Title": "APIKey", - "Datatype": "string" - }, - { - "Title": "APISecret", - "Datatype": "string" - }, - { - "Title": "Endpoint", - "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" - }, - { - "Title": "PropagationTimeout", - "Datatype": "time.Duration" - }, - { - "Title": "PollingInterval", - "Datatype": "time.Duration" - }, - { - "Title": "TTL", - "Datatype": "int64" - } - ] - }, "freemyip": { "Name": "freemyip", "ConfigableFields": [ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1200,11 +1178,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1214,16 +1190,10 @@ "gandi": { "Name": "gandi", "ConfigableFields": [ - { - "Title": "BaseURL", - "Datatype": "string" - }, { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1231,7 +1201,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1241,10 +1213,6 @@ "gandiv5": { "Name": "gandiv5", "ConfigableFields": [ - { - "Title": "BaseURL", - "Datatype": "string" - }, { "Title": "APIKey", "Datatype": "string" @@ -1252,9 +1220,7 @@ { "Title": "PersonalAccessToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1262,7 +1228,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1275,9 +1243,7 @@ { "Title": "APIToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1285,7 +1251,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1302,9 +1270,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1312,7 +1278,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1329,9 +1297,7 @@ { "Title": "APISecret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1339,7 +1305,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1352,9 +1320,7 @@ { "Title": "AccessToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PollingInterval", "Datatype": "time.Duration" @@ -1362,7 +1328,9 @@ { "Title": "PropagationTimeout", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1375,9 +1343,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1385,7 +1351,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1402,9 +1370,7 @@ { "Title": "ZoneName", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1412,7 +1378,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1425,9 +1393,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1435,7 +1401,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1452,9 +1420,7 @@ { "Title": "ZoneName", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1462,13 +1428,46 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" } ] }, + "huaweicloud": { + "Name": "huaweicloud", + "ConfigableFields": [ + { + "Title": "AccessKeyID", + "Datatype": "string" + }, + { + "Title": "SecretAccessKey", + "Datatype": "string" + }, + { + "Title": "Region", + "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "TTL", + "Datatype": "int32" + } + ] + }, "hyperone": { "Name": "hyperone", "ConfigableFields": [ @@ -1483,9 +1482,7 @@ { "Title": "PassportLocation", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1493,7 +1490,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1511,12 +1510,6 @@ "Title": "APIKey", "Datatype": "string" }, - { - "Title": "Debug", - "Datatype": "bool" - } - ], - "HiddenFields": [ { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1526,10 +1519,11 @@ "Datatype": "time.Duration" }, { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" + "Title": "Debug", + "Datatype": "bool" } - ] + ], + "HiddenFields": [] }, "iij": { "Name": "iij", @@ -1545,9 +1539,7 @@ { "Title": "DoServiceCode", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1556,7 +1548,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "iijdpf": { "Name": "iijdpf", @@ -1572,9 +1565,7 @@ { "Title": "Endpoint", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1583,7 +1574,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "infoblox": { "Name": "infoblox", @@ -1616,12 +1608,6 @@ "Title": "SSLVerify", "Datatype": "bool" }, - { - "Title": "HTTPTimeout", - "Datatype": "int" - } - ], - "HiddenFields": [ { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1629,8 +1615,13 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + }, + { + "Title": "HTTPTimeout", + "Datatype": "int" } - ] + ], + "HiddenFields": [] }, "infomaniak": { "Name": "infomaniak", @@ -1642,9 +1633,7 @@ { "Title": "AccessToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1652,7 +1641,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1669,9 +1660,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1679,7 +1668,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1700,12 +1691,6 @@ { "Title": "SharedSecret", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "Sandbox", - "Datatype": "bool" }, { "Title": "PropagationTimeout", @@ -1715,6 +1700,12 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } + ], + "HiddenFields": [ + { + "Title": "Sandbox", + "Datatype": "bool" + } ] }, "ionos": { @@ -1723,9 +1714,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1733,7 +1722,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1746,9 +1737,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1756,14 +1745,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" } ] }, @@ -1777,9 +1764,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1787,7 +1772,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1816,9 +1803,7 @@ { "Title": "APIMode", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1826,11 +1811,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1843,9 +1826,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1853,7 +1834,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1870,9 +1853,7 @@ { "Title": "Region", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1881,6 +1862,30 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } + ], + "HiddenFields": [] + }, + "limacity": { + "Name": "limacity", + "ConfigableFields": [ + { + "Title": "APIKey", + "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "HTTPClient", + "Datatype": "*http.Client" + } ] }, "linode": { @@ -1889,9 +1894,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1899,12 +1902,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "liquidweb": { "Name": "liquidweb", @@ -1924,9 +1924,7 @@ { "Title": "Zone", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PollingInterval", "Datatype": "time.Duration" @@ -1934,12 +1932,9 @@ { "Title": "PropagationTimeout", "Datatype": "time.Duration" - }, - { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "loopia": { "Name": "loopia", @@ -1955,9 +1950,7 @@ { "Title": "APIPassword", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1965,7 +1958,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -1982,9 +1977,7 @@ { "Title": "APIToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -1992,7 +1985,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2013,9 +2008,7 @@ { "Title": "BaseURL", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2024,7 +2017,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "metaname": { "Name": "metaname", @@ -2036,9 +2030,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2047,6 +2039,53 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } + ], + "HiddenFields": [] + }, + "mijnhost": { + "Name": "mijnhost", + "ConfigableFields": [ + { + "Title": "APIKey", + "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "HTTPClient", + "Datatype": "*http.Client" + } + ] + }, + "mittwald": { + "Name": "mittwald", + "ConfigableFields": [ + { + "Title": "Token", + "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "HTTPClient", + "Datatype": "*http.Client" + } ] }, "mydnsjp": { @@ -2059,9 +2098,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2069,7 +2106,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2098,9 +2137,7 @@ { "Title": "ClientIP", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2108,7 +2145,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2129,9 +2168,7 @@ { "Title": "Server", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2139,7 +2176,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2152,9 +2191,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2163,7 +2200,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "nearlyfreespeech": { "Name": "nearlyfreespeech", @@ -2175,9 +2213,7 @@ { "Title": "Login", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2185,11 +2221,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2210,9 +2244,7 @@ { "Title": "Customer", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2220,7 +2252,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2233,9 +2267,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2243,7 +2275,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2276,9 +2310,7 @@ { "Title": "Mode", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2286,7 +2318,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2307,9 +2341,7 @@ { "Title": "SecretKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2317,7 +2349,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2330,9 +2364,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2340,7 +2372,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2353,9 +2387,7 @@ { "Title": "APIToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2363,7 +2395,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2376,9 +2410,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2386,7 +2418,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2415,9 +2449,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2425,11 +2457,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2454,12 +2484,10 @@ { "Title": "ConsumerKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { - "Title": "OAuth2Config", - "Datatype": "*OAuth2Config" + "Title": "AccessToken", + "Datatype": "string" }, { "Title": "PropagationTimeout", @@ -2468,6 +2496,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "OAuth2Config", + "Datatype": "*OAuth2Config" }, { "Title": "HTTPClient", @@ -2493,9 +2527,7 @@ { "Title": "APIVersion", "Datatype": "int" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2503,7 +2535,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2524,9 +2558,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2534,7 +2566,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2551,9 +2585,7 @@ { "Title": "SecretAPIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2561,7 +2593,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2582,9 +2616,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2592,7 +2624,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2605,9 +2639,7 @@ { "Title": "APIToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2615,7 +2647,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2640,9 +2674,7 @@ { "Title": "TLSKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2650,7 +2682,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2675,9 +2709,7 @@ { "Title": "TSIGSecret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2685,16 +2717,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, - { - "Title": "DNSTimeout", - "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "rimuhosting": { "Name": "rimuhosting", @@ -2702,9 +2727,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2712,7 +2735,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2753,12 +2778,6 @@ { "Title": "ExternalID", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "WaitForRecordSetsChanged", - "Datatype": "bool" }, { "Title": "PropagationTimeout", @@ -2767,6 +2786,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "WaitForRecordSetsChanged", + "Datatype": "bool" }, { "Title": "Client", @@ -2780,9 +2805,7 @@ { "Title": "AuthToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2790,7 +2813,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2807,9 +2832,7 @@ { "Title": "Secret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2817,7 +2840,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2838,9 +2863,7 @@ { "Title": "AccessKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2849,7 +2872,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "selectel": { "Name": "selectel", @@ -2861,9 +2885,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2871,6 +2893,43 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "HTTPClient", + "Datatype": "*http.Client" + } + ] + }, + "selfhostde": { + "Name": "selfhostde", + "ConfigableFields": [ + { + "Title": "Username", + "Datatype": "string" + }, + { + "Title": "Password", + "Datatype": "string" + }, + { + "Title": "PropagationTimeout", + "Datatype": "time.Duration" + }, + { + "Title": "PollingInterval", + "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "RecordsMapping", + "Datatype": "map[string]*Seq" + }, + { + "Title": "recordsMappingMu", + "Datatype": "sync.Mutex" }, { "Title": "HTTPClient", @@ -2888,9 +2947,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2898,7 +2955,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2915,9 +2974,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2925,7 +2982,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2942,9 +3001,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -2952,7 +3009,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -2969,12 +3028,6 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "HTTPClient", - "Datatype": "*http.Client" }, { "Title": "PropagationTimeout", @@ -2983,10 +3036,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { - "Title": "SequenceInterval", - "Datatype": "time.Duration" + "Title": "HTTPClient", + "Datatype": "*http.Client" } ] }, @@ -3004,9 +3059,7 @@ { "Title": "StackID", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3015,7 +3068,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "tencentcloud": { "Name": "tencentcloud", @@ -3035,9 +3089,7 @@ { "Title": "SessionToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3045,12 +3097,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "transip": { "Name": "transip", @@ -3062,9 +3111,7 @@ { "Title": "PrivateKeyPath", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3072,7 +3119,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "TTL", "Datatype": "int64" @@ -3093,9 +3142,7 @@ { "Title": "Endpoint", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3104,7 +3151,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "variomedia": { "Name": "variomedia", @@ -3112,9 +3160,7 @@ { "Title": "APIToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3122,11 +3168,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3147,9 +3191,7 @@ { "Title": "APISecret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3158,7 +3200,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "vercel": { "Name": "vercel", @@ -3170,9 +3213,7 @@ { "Title": "TeamID", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3180,7 +3221,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3201,9 +3244,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3211,11 +3252,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3236,9 +3275,7 @@ { "Title": "Host", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3247,7 +3284,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "vkcloud": { "Name": "vkcloud", @@ -3275,9 +3313,7 @@ { "Title": "DomainName", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3286,7 +3322,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "vscale": { "Name": "vscale", @@ -3298,9 +3335,7 @@ { "Title": "Token", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3308,7 +3343,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3321,9 +3358,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3331,14 +3366,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" - }, - { - "Title": "HTTPTimeout", - "Datatype": "time.Duration" } ] }, @@ -3348,9 +3381,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3358,7 +3389,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3375,9 +3408,7 @@ { "Title": "Secret", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3385,11 +3416,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, - { - "Title": "SequenceInterval", - "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3406,9 +3435,7 @@ { "Title": "Password", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3416,7 +3443,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3429,9 +3458,7 @@ { "Title": "PddToken", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3439,7 +3466,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3452,12 +3481,6 @@ { "Title": "OAuthToken", "Datatype": "string" - } - ], - "HiddenFields": [ - { - "Title": "OrgID", - "Datatype": "int64" }, { "Title": "PropagationTimeout", @@ -3466,6 +3489,12 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" + } + ], + "HiddenFields": [ + { + "Title": "OrgID", + "Datatype": "int64" }, { "Title": "HTTPClient", @@ -3483,9 +3512,7 @@ { "Title": "FolderID", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3494,7 +3521,8 @@ "Title": "PollingInterval", "Datatype": "time.Duration" } - ] + ], + "HiddenFields": [] }, "zoneee": { "Name": "zoneee", @@ -3510,9 +3538,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3520,7 +3546,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" @@ -3533,9 +3561,7 @@ { "Title": "APIKey", "Datatype": "string" - } - ], - "HiddenFields": [ + }, { "Title": "PropagationTimeout", "Datatype": "time.Duration" @@ -3543,7 +3569,9 @@ { "Title": "PollingInterval", "Datatype": "time.Duration" - }, + } + ], + "HiddenFields": [ { "Title": "HTTPClient", "Datatype": "*http.Client" diff --git a/tools/dns_challenge_update/code-gen/extract.go b/tools/dns_challenge_update/code-gen/extract.go index d943fab..a8f6d22 100644 --- a/tools/dns_challenge_update/code-gen/extract.go +++ b/tools/dns_challenge_update/code-gen/extract.go @@ -36,9 +36,10 @@ import ( //name is the DNS provider name, e.g. cloudflare or gandi //JSON (js) must be in key-value string that match ConfigableFields Title in providers.json, e.g. {"Username":"far","Password":"boo"} -func GetDNSProviderByJsonConfig(name string, js string)(challenge.Provider, error){ +func GetDNSProviderByJsonConfig(name string, js string, propagationTimeout int64)(challenge.Provider, error){ + pgDuration := time.Duration(propagationTimeout) * time.Second switch name { -{{magic}} + {{magic}} default: return nil, fmt.Errorf("unrecognized DNS provider: %s", name) } @@ -79,12 +80,19 @@ func getExcludedDNSProviders() []string { "selectelv2", //Not sure why not working with our code generator "designate", //OpenStack, if you are using this you shd not be using zoraxy "mythicbeasts", //Module require url.URL, which cannot be automatically parsed - "directadmin", //Reserve for next dependency update + + //The following are incomaptible with Zoraxy due to dependencies issue, + //might be resolved in future + "corenetworks", + "timewebcloud", + "volcengine", + "exoscale", } } // Exclude list for Windows build, due to limitations for lego versions func getExcludedDNSProvidersNT61() []string { + fmt.Println("Windows 7 support is deprecated, please consider upgrading to a newer version of Windows.") return append(getExcludedDNSProviders(), []string{"cpanel", "mailinabox", "shellrent", @@ -251,6 +259,14 @@ func main() { Datatype: fields[1], }) } + case "time.Duration": + if fields[0] == "PropagationTimeout" || fields[0] == "PollingInterval" { + configKeys = append(configKeys, &Field{ + Title: fields[0], + Datatype: fields[1], + }) + } + default: //Not used fields hiddenKeys = append(hiddenKeys, &Field{ @@ -275,21 +291,8 @@ func main() { if err != nil { return nil, err } - cfg.PropagationTimeout = 5*time.Minute + cfg.PropagationTimeout = pgDuration return ` + providerName + `.NewDNSProviderConfig(cfg)` - - //Add fixed for Netcup timeout - if strings.ToLower(providerName) == "netcup" { - codeSegment = ` - case "` + providerName + `": - cfg := ` + providerName + `.NewDefaultConfig() - err := json.Unmarshal([]byte(js), &cfg) - if err != nil { - return nil, err - } - cfg.PropagationTimeout = 20*time.Minute - return ` + providerName + `.NewDNSProviderConfig(cfg)` - } generatedConvertcode += codeSegment importList += ` "github.com/go-acme/lego/v4/providers/dns/` + providerName + "\"\n" } diff --git a/tools/dns_challenge_update/code-gen/update.sh b/tools/dns_challenge_update/code-gen/update.sh index 3372b46..6dc1352 100644 --- a/tools/dns_challenge_update/code-gen/update.sh +++ b/tools/dns_challenge_update/code-gen/update.sh @@ -18,7 +18,7 @@ fi # Run the extract.go to get all the config from lego source code echo "Generating code" go run ./extract.go -go run ./extract.go -- "win7" +# go run ./extract.go -- "win7" echo "Cleaning up lego" sleep 2