Skip to main content

netscli_core/
dns.rs

1mod lookup;
2mod records;
3mod resolver;
4mod reverse;
5mod types;
6
7pub use lookup::{
8    lookup_all_records_timeout, lookup_record_timeout, resolve_a, resolve_a_timeout, resolve_aaaa,
9    resolve_aaaa_timeout,
10};
11pub use records::parse_record_type;
12pub use reverse::{reverse_lookup_best_effort_timeout, reverse_lookup_timeout};
13// Crate-internal: discover reuses it to sanitise mDNS names, which are
14// remote-controlled strings exactly like the PTR and LLMNR replies this was
15// written for. Not public -- it is a detail of how names are cleaned, not
16// part of the DNS surface.
17#[cfg(feature = "mdns")]
18pub(crate) use reverse::normalize_hostname;
19pub use types::DnsRecord;