Skip to main content

initialize_bootstrap

Function initialize_bootstrap 

Source
pub async fn initialize_bootstrap() -> Result<(), DomainCheckError>
Expand description

Pre-warm the bootstrap cache by fetching the full IANA registry.

Call this before bulk operations (e.g., --all mode) to ensure all ~1,180 TLDs are available without per-TLD network requests.

This is safe to call multiple times — subsequent calls are no-ops if the cache is still fresh (within the 24-hour TTL).