Skip to content

Commit

Permalink
further unify the dns api by mentioning the trait and the submodule docs
Browse files Browse the repository at this point in the history
  • Loading branch information
divagant-martian committed May 21, 2024
1 parent 373e172 commit 118c390
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iroh-net/src/dns.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
//! This module exports a DNS resolver, which is also the default resolver used in the
//! [`crate::Endpoint`] if no custom resolver is configured.
//!
//! It also exports [`ResolverExt`]: A extension trait over [`DnsResolver`] to perform DNS queries
//! by ipv4, ipv6, name and node_id. See the [`node_info`] module documentation for details on how
//! iroh node records are structured.
use std::fmt::Write;
use std::net::{IpAddr, Ipv6Addr};
Expand Down

0 comments on commit 118c390

Please sign in to comment.