2 releases
0.0.1 | Aug 22, 2024 |
---|---|
0.0.0 | Aug 19, 2024 |
#23 in #aliyun
16KB
311 lines
AliDNS
Usage
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
Methods:
- query_domain_records(domain_name)
- add_domain_record(domain_name, rr, rr_type, value, Option)
- update_domain_record(record_id, rr, rr_type, value, Option)
- delete_domain_record(record_id)
Dependencies
~11–23MB
~415K SLoC