pub fn process_request(
request: &DnsMessage,
handler: &impl Fn(&DnsQuestion) -> Vec<DnsRecord>,
) -> Result<DnsMessage, DnsError>
Expand description
ยงErrors
Returns Err
when the request is malformed or the server is not configured to answer the
request.