MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / add_txt_record

Method add_txt_record

certbot/src/dns01_client/cloudflare.rs:287–297  ·  view source on GitHub ↗
(&self, domain: &str, content: &str, ttl: u32)

Source from the content-addressed store, hash-verified

285 }
286
287 async fn add_txt_record(&self, domain: &str, content: &str, ttl: u32) -> Result<String> {
288 let response = self
289 .add_record(&json!({
290 "type": "TXT",
291 "name": domain,
292 "content": content,
293 "ttl": ttl,
294 }))
295 .await?;
296 Ok(response.result.id)
297 }
298
299 async fn add_caa_record(
300 &self,

Callers 3

authorizeMethod · 0.80
can_add_txt_recordFunction · 0.80
can_remove_txt_recordFunction · 0.80

Calls 1

add_recordMethod · 0.80

Tested by

no test coverage detected