Crates.io | ali-dns |
lib.rs | ali-dns |
version | 0.0.1 |
source | src |
created_at | 2024-08-19 02:44:53.215985 |
updated_at | 2024-08-22 06:02:39.10368 |
description | an aliyun dns skd |
homepage | |
repository | https://github.com/rust-china/ali-dns |
max_upload_size | |
id | 1343347 |
size | 56,259 |
let dns_client = crate::Client::from_env()?;
let response = dns_client.add_domain_record(domain_name, rr, rr_type, value, line).await?;
println!("Response: {:?}", response);
env config
ALI_DNS_ACCESS_KEY_ID=xxx
ALI_DNS_ACCESS_KEY_SECRET=xxx