Function dns_server::process_request
source · 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.