ddns-provider

Crates.ioddns-provider
lib.rsddns-provider
version0.1.0
created_at2025-05-31 16:39:42.627647+00
updated_at2025-05-31 16:39:42.627647+00
descriptionCommon traits and error types for pluggable DNS providers.
homepagehttps://github.com/lvillis/ddns-rs
repositoryhttps://github.com/lvillis/ddns-rs
max_upload_size
id1696473
size37,435
(lvillis)

documentation

https://github.com/lvillis/ddns-rs/blob/main/README.md

README

ddns-provider (traits)

Thin abstraction for pluggable DNS providers.

#[async_trait::async_trait]
pub trait DnsProvider {
    async fn upsert_record(
        &self,
        zone: &str,
        name: &str,
        typ: RecordType,
        ip: &str,
        ttl: u32,
    ) -> Result<(), ProviderError>;
}
Commit count: 38

cargo fmt