Function cdns_rs::a_sync::request::resolve_reverse [−][src]
pub async fn resolve_reverse<C>(
ipaddr: C,
custom_resolv: Option<Arc<ResolveConfig>>
) -> CDnsResult<Vec<String>> where
C: AsRef<str>,
Expand description
Resolves the IP address to FQDN
Arguments
-
ipaddr
- AsRefan IP address -
custom_resolv
- a custom ResolveConfig wrapped in Arc
Returns
CDnsResult - Ok with inner type Vec DnsSoa. If vector is empty then no results found.
CDnsResult - Err with error description