20230405T170214,04+0220230327T165132,43+02 20230327T165152,31+02 20230405T170214,04+02 20230405T170214,03+02 20230405T170214,03+02 20230327T165152,48+02 CN=Super Admin/O=WWCorp 20230327T165152,48+0220230327T165350,78+0220230327T170018,42+0220230328T182657,47+0220230328T190904,85+0220230405T170051,03+02 Check the API at https://desec.readthedocs.io/en/latest/ The details about this DNS Configuration can be found in this blog article https://blog.martdj.nl/2023/04/23/how-to-create-a-dns-configuration To create a DNS TXT record: curl -X POST https://desec.io/api/v1/domains/{name}/rrsets/ \ --header "Authorization: Token {secret}" \ --header "Content-Type: application/json" --data @- <<< \ '{"subname": "{acme_challenge_name}", "type": "TXT", "ttl": 360, "records": ["\"{acme_challenge_token}\""]}' To delete a DNS TXT record: curl -X DELETE https://desec.io/api/v1/domains/{name}/rrsets/{acme_challenge_name}/TXT \ --header "Authorization: Token {secret}" H 45 2 D P D FP_Server_Scope = "1" [Administrator] deSec deSec https://desec.io https://desec.readthedocs.io/en/latest/dns 1.0 Martijn de Jong https://desec.io/ ret_AddStatus https://desec.io/api/v1 cfg_URL + "/domains/" + cfg_DnsZone +"/rrsets/" + @Left(param_DnsTxtName;"." + cfg_DnsZone) + "/TXT/" "Authorization: Token " + cfg_AuthToken cfg_URL + "/domains/" + cfg_DnsZone +"/rrsets/" ("Authorization: Token " + cfg_AuthToken ) : ( "Content-Type: application/json" ) "{" + { "subname": "} + @Left(param_DnsTxtName;"." + cfg_DnsZone) + {","type": "TXT","ttl": 120,"records":["\\"} + param_DnsTxtValue + {\\""]} + "}" cfg_URL + "/domains/" + cfg_DnsZone +"/rrsets/" + @Left(param_DnsTxtName;"." + cfg_DnsZone) + "/TXT/" "Authorization: Token " + cfg_AuthToken