pub async fn resolve(
is_recursive: bool,
protocol_mode: ProtocolMode,
upstream_dns_port: u16,
forward_address: Option<SocketAddr>,
zones: &Zones,
cache: &SharedCache,
question: &Question,
) -> (Metrics, Result<ResolvedRecord, ResolutionError>)
Expand description
Resolve a question using the standard DNS algorithms.