Function read_dns_name

Source
fn read_dns_name(data: &mut Cursor<&[u8]>) -> String
Expand description

Read a DNS name that is contained in a DNS response. Returns the domain name string of the A record reply.