Struct dns_parser::Question
source · pub struct Question<'a> {
pub qname: Name<'a>,
pub prefer_unicast: bool,
pub qtype: QueryType,
pub qclass: QueryClass,
}Expand description
A parsed chunk of data in the Query section of the packet
Fields§
§qname: Name<'a>§prefer_unicast: boolWhether or not we prefer unicast responses. This is used in multicast DNS.
qtype: QueryType§qclass: QueryClass