hickory_resolver::system_conf

Function parse_resolv_conf

Source
pub fn parse_resolv_conf<T: AsRef<[u8]>>(
    data: T,
) -> Result<(ResolverConfig, ResolverOpts), ResolveError>
Available on Unix and crate feature system-config only.