<?xml version="1.0" encoding="utf-8"?> <database xmlns="http://www.lotus.com/dxl"> <document form="DnsProviderConfig"> <item name="Body"> <richtext> <pardef id="1" leftmargin="0" tabs="L0.5000in L1in L1.5000in L2in L2.5000in L3in L3.5000in L4in" keepwithnext="true" keeptogether="true"/> <par def="1"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>To set a TXT record, you may now do this using a single cURL request:</run> </par> <par def="1"> <run> <font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/> </run> </par> <par def="1"> <run><font size="9pt" name="monospace"/>curl -X POST </run> <run><font size="9pt" name="monospace"/>https://svc.joker.com/nic/replace</run> <run><font size="9pt" name="monospace"/> -d \</run> </par> <par def="1"> <run><font size="9pt" name="monospace"/>'username=your-username&password=your-password&zone=your-domain.com&label=_acme-challenge&type=TXT&value=the-TXT-content-to-insert'</run> </par> <par def="1"> <run> <font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/> </run> </par> <par def="1"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>This will create a TXT record for "_acme-challenge" in zone "your-domain.com".</run> </par> <par def="1"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>It responds with 200 and "OK: n# inserted, n# deleted" if everything went OK, and appropriate status and text if not.</run> </par> <par def="1"> <run> <font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/> </run> </par> <par def="1"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>Some additional notes regarding this:</run> </par> <par def="1"> <run> <font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/> </run> </par> <pardef id="2" leftmargin="0.2500in" list="bullet" tabs="L0.5000in L1in L1.5000in L2in L2.5000in L3in L3.5000in L4in" keepwithnext="true" keeptogether="true"/> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>only POST method is supported</run> </par> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>only type=TXT is supported (and must be provided) for now</run> </par> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>"label" could be anything within the zone (including "@" and "*")</run> </par> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>this request will replace all TXT records for the specified label with the provided content</run> </par> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>"value" must be printable ASCII only, without double quotes</run> </par> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>if "value" is empty ("value="), all existing records for specified label are deleted</run> </par> <par def="2"> <run><font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/>multiple TXT records with the same label can be added by using multiple "value" parameters in the URL</run> </par> </richtext> </item> <item name="DnsProviderType"> <text>H</text> </item> <item name="cfg_DnsProviderDelay"> <number>20</number> </item> <item name="EnableTracing"> <text>2</text> </item> <item name="ReqLookupHttpType"> <text>P</text> </item> <item name="ReqQryAddHttpType"> <text/> </item> <item name="ReqAddHttpType"> <text>P</text> </item> <item name="ReqQryDelHttpType"> <text/> </item> <item name="ReqDelHttpType"> <text>P</text> </item> <item name="Comments"> <richtext> <pardef id="3" keepwithnext="true" keeptogether="true"> <code event="hidewhen" enabled="false"> <formula>FP_Server_Scope = "1"</formula> </code> </pardef> <par def="3"> <run> <font size="9pt" name="Helvetica Neue" pitch="variable" truetype="false" familyid="20"/> </run> </par> </richtext> </item> <item name="AdminAccess" authors="true" names="true" protected="true"> <text>[Administrator]</text> </item> <item name="DnsProviderConfigName"> <text>Joker</text> </item> <item name="ProviderName"> <text>CSL GmbH</text> </item> <item name="Website"> <text>https://joker.com</text> </item> <item name="DocumentationURL"> <text>https://joker.com/faq/books/jokercom-faq-en/page/lets-encrypt-ssl-certificates</text> </item> <item name="Version"> <text>1.0</text> </item> <item name="Author"> <text>Jesse Gallagher</text> </item> <item name="ReferenceURL"> <text/> </item> <item name="StatusFormula"> <text>ret_AddStatus</text> </item> <item name="cfg_URL"> <text>https://svc.joker.com/nic/replace</text> </item> <item name="ReqLookupUrlFormula"> <text/> </item> <item name="ReqLookupHeaderFormula"> <text/> </item> <item name="ReqLookupPostDataFormula"> <text/> </item> <item name="ReqLookupCustomFormula"> <text/> </item> <item name="ReqQryAddUrlFormula"> <text/> </item> <item name="ReqQryAddHeaderFormula"> <text/> </item> <item name="ReqQryAddPostDataFormula"> <text/> </item> <item name="ReqAddUrlFormula"> <text>cfg_URL</text> </item> <item name="ReqAddHeaderFormula"> <text>"Content-Type: application/x-www-form-urlencoded"</text> </item> <item name="ReqAddPostDataFormula"> <text>txtName := @If(@Ends(param_DnsTxtName; "."+cfg_DnsZone); @Left(param_DnsTxtName; "."+cfg_DnsZone); param_DnsTxtName);<break/><break/>"username=" + @UrlEncode("Domino"; cfg_UserName) + "&password=" + @UrlEncode("Domino"; cfg_Password) + "&zone=" + @UrlEncode("Domino"; cfg_DnsZone) + "&label=" + @UrlEncode("Domino";txtName) + "&type=TXT&value=" + @UrlEncode("Domino"; param_DnsTxtValue)</text> </item> <item name="ReqQryDelUrlFormula"> <text/> </item> <item name="ReqQryDelHeaderFormula"> <text/> </item> <item name="ReqQryDelPostDataFormula"> <text/> </item> <item name="ReqDelUrlFormula"> <text>cfg_URL</text> </item> <item name="ReqDelHeaderFormula"> <text>"Content-Type: application/x-www-form-urlencoded"</text> </item> <item name="ReqDelPostDataFormula"> <text>txtName := @If(@Ends(param_DnsTxtName; "."+cfg_DnsZone); @Left(param_DnsTxtName; "."+cfg_DnsZone); param_DnsTxtName);<break/><break/>"username=" + @UrlEncode("Domino"; cfg_UserName) + "&password=" + @UrlEncode("Domino"; cfg_Password) + "&zone=" + @UrlEncode("Domino"; cfg_DnsZone) + "&label=" + @UrlEncode("Domino";txtName) + "&type=TXT&value="</text> </item> <item name="CommandAddFormula"> <text/> </item> <item name="CommandDelFormula"> <text/> </item> <item name="CommandEnvFormula"> <text/> </item> <item name="AgentDatabase"> <text/> </item> <item name="AgentAddName"> <text/> </item> <item name="AgentDelName"> <text/> </item> </document> </database>