Skip to main content

resolve_fips_query

Function resolve_fips_query 

Source
pub fn resolve_fips_query(name: &str) -> Option<(Ipv6Addr, NodeAddr, PublicKey)>
Expand description

Resolve a .fips domain name to an IPv6 address and identity.

The name should be <npub>.fips (with optional trailing dot). Returns the FipsAddress IPv6, NodeAddr, and full PublicKey on success.