MuhammedReza07 / dns_resolver

A simple DNS resolver in Rust written uisng standard library provided functionality.
1 stars 0 forks source link

DNS name compression in UdpPacket::write_domain_name #7

Open MuhammedReza07 opened 1 year ago

MuhammedReza07 commented 1 year ago

While this method currently operates without the use of compression, a DNS specification compliant compression algorithm must be used for increased efficiency. While resolution is necessary, the compression-free implementation suffices for the purpose of generating shorter queries but must be handled in a more complete implementation.