pub async fn resolve_soa<C>(
fqdn: C,
custom_resolv: Option<Arc<ResolveConfig>>,
) -> CDnsResult<Vec<DnsSoa>>
Expand description
Resolves the SOA record
§Arguments
-
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