Skip to main content

Crate acme_validation_propagation

Crate acme_validation_propagation 

Source
Expand description

main License: MIT docs.rs

This library crate can be used to check if an acme challenge record is propagated to all authoritive nameservers.

§Example

    use acme_validation_propagation::wait;
    let result = wait("example.com", "89823875").await;
    match result {
        Ok(_) => println!("Propagation finished"),
        Err(error) => eprintln!("Error: {error}"),
    }

Functions§

wait
wait checks the authoritive nameservers periodically. It returns Ok(()) when all nameservers have the challenge. It returns an error after several attempts failed.
wait_sync

Type Aliases§

Result