pub fn query_type_class(packet: &[u8]) -> DnsResult<(u16, u16)>
Extracts the query type and class from a DNS packet