Function cdns_rs::sync::shortcuts::resolve_a [−][src]
pub fn resolve_a<C>(fqdn: C) -> CDnsResult<Vec<IpAddr>> where
C: AsRef<str>,
Expand description
Resolves the FQDN to a list of an IPv4 addresses.
Arguments
fqdn
- a domain which is needed to be resolved
Returns
-
CDnsResult with vector of IpAddr
-
CDnsResult with error