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;

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

Functions§

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

Type Aliases§